qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC 0/2] Explicit SID for IOAPIC


From: David Kiarie
Subject: [Qemu-devel] [RFC 0/2] Explicit SID for IOAPIC
Date: Tue, 9 Aug 2016 17:32:15 +0300

IOMMU require platform device like IOAPIC and possibly HPET to make
interrupt requests using explicit SIDs which the currently don't.

This patches modify x86 code such that an MSIroute entry is affiliated with 
a requester ID and, if present, a PCI device. This change doesn't seem
have any side effects as far as I can tell.

David Kiarie (2):
  hw/msi: Allow platform devices to use explicit SID
  hw/i386: enforce SID verification

 hw/i386/intel_iommu.c             | 82 ++++++++++++++++++++-------------------
 hw/i386/kvm/pci-assign.c          | 12 ++++--
 hw/intc/ioapic.c                  | 28 +++++++++++--
 hw/misc/ivshmem.c                 |  6 ++-
 hw/vfio/pci.c                     |  6 ++-
 hw/virtio/virtio-pci.c            |  6 ++-
 include/hw/i386/ioapic_internal.h |  1 +
 include/hw/i386/x86-iommu.h       |  1 +
 include/sysemu/kvm.h              |  7 ++--
 kvm-all.c                         | 10 +++--
 target-i386/kvm.c                 | 15 ++++---
 11 files changed, 108 insertions(+), 66 deletions(-)

-- 
2.1.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]