kvm: i386: Add services required for PCI device assignment
commitb139bd300f4f579c526d153efa4960c380e2b6e3
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 27 Aug 2012 06:28:40 +0000 (27 08:28 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 10 Sep 2012 12:29:59 +0000 (10 15:29 +0300)
tree03dcffe9e59867d42804057e951302d4b2c1f580
parent3ab73842446a9f2d9d78b23daa43ff382679eece
kvm: i386: Add services required for PCI device assignment

These helpers abstract the interaction of upcoming pci-assign with the
KVM kernel services. Put them under i386 only as other archs will
implement device pass-through via VFIO and not this classic interface.

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>
target-i386/kvm.c
target-i386/kvm_i386.h