kvm: qemu: fix build breakage on non-device-deassignment capable host kernels
commit4e000c5d44a40601ec944ccc38ce67c252641fc5
authorHan, Weidong <weidong.han@intel.com>
Mon, 16 Mar 2009 09:25:40 +0000 (16 17:25 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 17 Mar 2009 09:36:29 +0000 (17 11:36 +0200)
treea11c37a5b31b5ceef225d4b4d9f22cd65d4e5087
parent376a947170f53eee66c16bf94faaf59fb90036fb
kvm: qemu: fix build breakage on non-device-deassignment capable host kernels

kvm_deassign_pci_device is defined when KVM_CAP_DEVICE_DEASSIGNMENT is defined.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu/hw/device-assignment.c