[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 9/9] Enable KVM acceleration for GICv3
From: |
Pavel Fedin |
Subject: |
[Qemu-devel] [PATCH v4 9/9] Enable KVM acceleration for GICv3 |
Date: |
Thu, 02 Jul 2015 17:14:07 +0300 |
Instantiate "kvm-arm-gicv3" class for GICv3 with KVM acceleration
Signed-off-by: Pavel Fedin <address@hidden>
---
hw/arm/virt.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 5c07d07..100cb17 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -410,11 +410,9 @@ static void create_gic(VirtBoardInfo *vbi, qemu_irq *pic,
int type)
int i;
if (type == KVM_DEV_TYPE_ARM_VGIC_V3) {
- gictype = "arm_gicv3";
- } else if (kvm_irqchip_in_kernel()) {
- gictype = "kvm-arm-gic";
+ gictype = kvm_irqchip_in_kernel() ? "kvm-arm-gicv3" : "arm_gicv3";
} else {
- gictype = "arm_gic";
+ gictype = kvm_irqchip_in_kernel() ? "kvm-arm-gic" : "arm_gic";
}
gicdev = qdev_create(NULL, gictype);
--
1.9.5.msysgit.0
- [Qemu-devel] [PATCH v4 0/9] GIC-500 implementation, software + KVM, Pavel Fedin, 2015/07/02
- [Qemu-devel] [PATCH v4 6/9] Set kernel_irqchip_type for the rest of ARM boards which use GIC, Pavel Fedin, 2015/07/02
- [Qemu-devel] [PATCH v4 9/9] Enable KVM acceleration for GICv3,
Pavel Fedin <=
- [Qemu-devel] [PATCH v4 5/9] Extract some reusable vGIC code, Pavel Fedin, 2015/07/02
- [Qemu-devel] [PATCH v4 8/9] Initial implementation of vGICv3, Pavel Fedin, 2015/07/02
- [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Pavel Fedin, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Daniel P. Berrange, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Pavel Fedin, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Christoffer Dall, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Pavel Fedin, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Christoffer Dall, 2015/07/02
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Pavel Fedin, 2015/07/03
- Re: [Qemu-devel] [PATCH v4 4/9] Add virt-v3 machine that uses GIC-500, Christoffer Dall, 2015/07/03