summaryrefslogtreecommitdiff
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2008-09-16 19:04:28 +0400
committerAvi Kivity <avi@redhat.com>2008-10-15 16:25:04 +0400
commitbfadaded0dc323a1cf3f08b5068f12955b54cbaa (patch)
tree8b55582d859efa274be0c7cfc92c9da00324fddf /virt/kvm/kvm_main.c
parent62c476c7c7f25a5b245b9902a935636e6316e58c (diff)
downloadlinux-bfadaded0dc323a1cf3f08b5068f12955b54cbaa.tar.xz
KVM: Device Assignment: Free device structures if IRQ allocation fails
When an IRQ allocation fails, we free up the device structures and disable the device so that we can unregister the device in the userspace and not expose it to the guest at all. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions