[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices |
Date: |
Wed, 28 Nov 2012 00:08:35 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-11-27 23:00, Alex Williamson wrote:
> This is post-1.3 material, so I'll just post it as an RFC for now.
>
> MSI routing updates aren't currently handled by pci-assign or
> vfio-pci (when using KVM acceleration), which means that trying to
> set interrupt SMP affinity in the guest has no effect unless MSI is
> completely disabled and re-enabled. This series fixes this for both
> device assignment backends using similar schemes. We store the last
> MSIMessage programmed to KVM and do updates to the MSI route when it
> changes. pci-assign takes a little bit of refactoring to make this
> happen cleanly. Thanks,
This should rather be done by implementing vector notifiers for MSI as
well. That way the device model no longer has to track reasons for
vector changes in an open-coded fashion, just like we already do for MSI-X.
Was on my todo list for a long time, but I never reached this item.
Jan
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices, Alex Williamson, 2012/11/27
- [Qemu-devel] [RFC PATCH 2/4] vfio-pci: Add support for MSI affinity, Alex Williamson, 2012/11/27
- [Qemu-devel] [RFC PATCH 3/4] pci-assign: Refactor MSI virq array, Alex Williamson, 2012/11/27
- [Qemu-devel] [RFC PATCH 4/4] pci-assign: Add MSI affinity support, Alex Williamson, 2012/11/27
- [Qemu-devel] [RFC PATCH 1/4] kvm: Stub kvm_irqchip_update_msi_route, Alex Williamson, 2012/11/27
- Re: [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices,
Jan Kiszka <=
- [Qemu-devel] PCI device pass through support, Krishna J, 2012/11/28