[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 08/10] hw/intc/arm_gic_kvm: advertise irqfd
From: |
Eric Auger |
Subject: |
Re: [Qemu-devel] [PATCH v5 08/10] hw/intc/arm_gic_kvm: advertise irqfd |
Date: |
Mon, 11 Aug 2014 14:04:42 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 08/11/2014 11:37 AM, Alexander Graf wrote:
>
> On 09.08.14 16:25, Eric Auger wrote:
>> set kvm_irqfds_allowed
>>
>> Signed-off-by: Eric Auger <address@hidden>
>> ---
>> hw/intc/arm_gic_kvm.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/hw/intc/arm_gic_kvm.c b/hw/intc/arm_gic_kvm.c
>> index 5038885..08b7bf9 100644
>> --- a/hw/intc/arm_gic_kvm.c
>> +++ b/hw/intc/arm_gic_kvm.c
>> @@ -576,6 +576,8 @@ static void kvm_arm_gic_realize(DeviceState *dev,
>> Error **errp)
>> KVM_DEV_ARM_VGIC_GRP_ADDR,
>> KVM_VGIC_V2_ADDR_TYPE_CPU,
>> s->dev_fd);
>> +
>> + kvm_irqfds_allowed = true;
>
> Is this always true? If it is, why not enable it separately while making
> vhost-net work for example?
Hi Alex,
yes I think so. As soon as KVM is enabled, KVM/arm would enable
injection though irqfd. Defintively makes sense to test it with
vhost-net too. Well a matter of priority ;-)
Best Regards
Eric
>
> Alex
>
- Re: [Qemu-devel] [PATCH v5 06/10] hw/vfio: create common module, (continued)
[Qemu-devel] [PATCH v5 07/10] hw/vfio/platform: add vfio-platform support, Eric Auger, 2014/08/09
Re: [Qemu-devel] [PATCH v5 07/10] hw/vfio/platform: add vfio-platform support, Alex Williamson, 2014/08/11
[Qemu-devel] [PATCH v5 08/10] hw/intc/arm_gic_kvm: advertise irqfd, Eric Auger, 2014/08/09
[Qemu-devel] [PATCH v5 09/10] hw/vfio/platform: Add irqfd support, Eric Auger, 2014/08/09
[Qemu-devel] [PATCH v5 10/10] hw/arm/dyn_sysbus_devtree: enable simple VFIO dynamic instantiation, Eric Auger, 2014/08/09