qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices
@ 2012-11-27 22:00 Alex Williamson
  2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 1/4] kvm: Stub kvm_irqchip_update_msi_route Alex Williamson
                   ` (6 more replies)
  0 siblings, 7 replies; 13+ messages in thread
From: Alex Williamson @ 2012-11-27 22:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: kvm

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,

Alex

---

Alex Williamson (4):
      kvm: Stub kvm_irqchip_update_msi_route
      vfio-pci: Add support for MSI affinity
      pci-assign: Refactor MSI virq array
      pci-assign: Add MSI affinity support


 hw/kvm/pci-assign.c |   80 +++++++++++++++++++++++++++++++++++----------------
 hw/vfio_pci.c       |   31 ++++++++++++++++++--
 kvm-all.c           |    5 +++
 kvm-stub.c          |    5 +++
 4 files changed, 93 insertions(+), 28 deletions(-)

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-01-07 21:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 22:00 [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 1/4] kvm: Stub kvm_irqchip_update_msi_route Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 2/4] vfio-pci: Add support for MSI affinity Alex Williamson
2012-11-27 22:00 ` [Qemu-devel] [RFC PATCH 3/4] pci-assign: Refactor MSI virq array Alex Williamson
2012-11-27 22:01 ` [Qemu-devel] [RFC PATCH 4/4] pci-assign: Add MSI affinity support Alex Williamson
2012-11-27 23:08 ` [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Jan Kiszka
2012-11-27 23:21   ` Alex Williamson
2012-11-29  6:57     ` Jan Kiszka
2012-11-28 16:32 ` [Qemu-devel] PCI device pass through support Krishna J
2012-11-28 17:00   ` Alex Williamson
2013-01-07 20:14 ` [Qemu-devel] [RFC PATCH 0/4] MSI affinity for assigned devices Krishna J
2013-01-07 20:52   ` Alex Williamson
2013-01-07 21:22     ` Krishna J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).