Commit bfadaded authored by Amit Shah's avatar Amit Shah Committed by Avi Kivity
Browse files

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: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent 62c476c7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment