Re: [PATCH 0/8][v2] MSI-X mask emulation support for assigned device

Marcelo Tosatti
2010-10-20T19:02:30Z

On Wed, Oct 20, 2010 at 04:26:24PM +0800, Sheng Yang wrote:
> Here is v2.
>
> Changelog:
>
> v1->v2
>
> The major change from v1 is I've added the in-kernel MSI-X mask emulation
> support, as well as adding shortcuts for reading MSI-X table.
>
> I've taken Michael's advice to use mask/unmask directly, but unsure about
> exporting irq_to_desc() for module...
>
> Also add flush_work() according to Marcelo's comments.
>
> Sheng Yang (8):
> PCI: MSI: Move MSI-X entry definition to pci_regs.h
> irq: Export irq_to_desc() to modules
> KVM: x86: Enable ENABLE_CAP capability for x86
> KVM: Move struct kvm_io_device to kvm_host.h
> KVM: Add kvm_get_irq_routing_entry() func
> KVM: assigned dev: Preparation for mask support in userspace
> KVM: assigned dev: Introduce io_device for MSI-X MMIO accessing
> KVM: Emulation MSI-X mask bits for assigned devices

Why does the current scheme, without msix per-vector mask support, is
functional at all? Luck?