RE: [PATCH 05/13] KVM: Update IRTE according to guest interrupt configuration changes

From: Zhang, Yang Z
Date: Tue Nov 11 2014 - 22:42:48 EST


Paolo Bonzini wrote on 2014-11-11:
>
>
> On 11/11/2014 10:20, Wu, Feng wrote:
>>> Since legacy KVM device assignment is effectively deprecated, have
>>> you considered how we might do this with VFIO? Thanks,
>>
>> I haven't thought about how to enable this in VFIO so far. I think I
>> can continue to implement that if needed after this patch set is finished.
> What do you think of this?
>
> Hi Feng,
>
> we are not applying new features to legacy KVM device assignment,
> since it is unsafe (it does not honor ACS).

Personally, I think this feature will be helpful to the legacy device assignment. Agree, vfio is the right solution for future feature enabling. But the old kvm without the good vfio supporting is still used largely today. The user really looking for this feature but they will not upgrade their kernel. It's easy for us to backport this feature to old kvm with the legacy device assignment, but it is impossible to backport the whole vfio. So I think you guys can take a consider to add this feature to both vfio and legacy device assignment.

>
> I and Alex can help you with designing a way to interface VFIO with
> KVM posted interrupts. Give us a few days to study these patches
> more, or feel free to request comments if you have ideas about it yourself.
>
> Paolo


Best regards,
Yang