KVM: fix assigned_device_enable_host_msix error handling
authorjing zhang <zj.barak@gmail.com>
Sat, 13 Mar 2010 07:00:45 +0000 (15:00 +0800)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:15:36 +0000 (12:15 +0300)
commitd57e2c0740bbdd768dcbafe58cf62174f31d7c2d
tree50ac4407800ec7660f070539d2ac89854280d6ae
parenta87fa35514bcf17aeca97245574e3f735cec9074
KVM: fix assigned_device_enable_host_msix error handling

Free IRQ's and disable MSIX upon failure.

Cc: Avi Kivity <avi@redhat.com>
Signed-off-by: Jing Zhang <zj.barak@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
virt/kvm/assigned-dev.c