summary refs log tree commit diff stats
path: root/hw/qdev-monitor.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2012-08-30 20:30:00 +0200
committerAvi Kivity <avi@redhat.com>2012-09-10 15:30:00 +0300
commitc3ebd3ba786e1be5449527e47001eded6b59322b (patch)
tree9c4301fa721fed318e3f625c511c76e14bdc1ed5 /hw/qdev-monitor.c
parentb139bd300f4f579c526d153efa4960c380e2b6e3 (diff)
downloadfocaccia-qemu-c3ebd3ba786e1be5449527e47001eded6b59322b.tar.gz
focaccia-qemu-c3ebd3ba786e1be5449527e47001eded6b59322b.zip
kvm: i386: Add classic PCI device assignment
This adds PCI device assignment for i386 targets using the classic KVM
interfaces. This version is 100% identical to what is being maintained
in qemu-kvm for several years and is supported by libvirt as well. It is
expected to remain relevant for another couple of years until kernels
without full-features and performance-wise equivalent VFIO support are
obsolete.

A refactoring to-do that should be done in-tree is to model MSI and
MSI-X support via the generic PCI layer, similar to what VFIO is already
doing for MSI-X. This should improve the correctness and clean up the
code from duplicate logic.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Acked-by: Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'hw/qdev-monitor.c')
-rw-r--r--hw/qdev-monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/qdev-monitor.c b/hw/qdev-monitor.c
index 33b7f79a94..479eecda31 100644
--- a/hw/qdev-monitor.c
+++ b/hw/qdev-monitor.c
@@ -44,6 +44,7 @@ static const QDevAlias qdev_alias_table[] = {
     { "virtio-serial-s390", "virtio-serial", QEMU_ARCH_S390X },
     { "lsi53c895a", "lsi" },
     { "ich9-ahci", "ahci" },
+    { "kvm-pci-assign", "pci-assign" },
     { }
 };