kvm: qemu: Support for device capability
commit5473920c5f0c849a9f1ffeebee19e6f48416c431
authorSheng Yang <sheng@linux.intel.com>
Tue, 17 Mar 2009 03:50:07 +0000 (17 11:50 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 18 Mar 2009 13:43:46 +0000 (18 15:43 +0200)
treed520e807a454effc6963a4f9a2b0933e1a679d50
parentf976fbbadeb281aa7e1d9002ebcdce36d6e92621
kvm: qemu: Support for device capability

This framework can be easily extended to support device capability, like
MSI/MSI-x.

[avi: #define PCI_CAPABILITY_LIST to avoid dependency on libpci]

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu/hw/pci.c
qemu/hw/pci.h