]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: fix kvm_vm_ioctl_deassign_device
authorWeidong Han <weidong.han@intel.com>
Fri, 13 Feb 2009 09:27:51 +0000 (17:27 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 24 Mar 2009 09:03:12 +0000 (11:03 +0200)
commit4a906e49f103c2e544148a209ba1db316510799f
tree5b059d8a08a7ca12502350621d13703f03cc1591
parent2df8a40bccf5999261d0d3a82eac5a77678e61bd
KVM: fix kvm_vm_ioctl_deassign_device

only need to set assigned_dev_id for deassignment, use
match->flags to judge and deassign it.

Acked-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c