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)
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>

No differences found