From: Amit Shah Date: Tue, 16 Sep 2008 15:04:28 +0000 (+0300) Subject: KVM: Device Assignment: Free device structures if IRQ allocation fails X-Git-Tag: v2.6.28-rc1~269^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfadaded0dc323a1cf3f08b5068f12955b54cbaa;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed