kvm: qemu: Fill config with correct VID/DID
commit9cab9b0cf53314910167b0c2ecc2920d3ed2dedf
authorSheng Yang <sheng@linux.intel.com>
Tue, 17 Mar 2009 03:50:16 +0000 (17 11:50 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 18 Mar 2009 13:44:12 +0000 (18 15:44 +0200)
treeddd59811e9fd1500b67bb674bd3511813b415a88
parent08b02f1d729663fbbd4e8c3dcd3998d50c0945e3
kvm: qemu: Fill config with correct VID/DID

SRIOV's virtual function didn't show correct Vendor ID/Device ID in config, so
we have to fill them manually according to device/vendor file in sysfs.

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