]> git.proxmox.com Git - qemu.git/commit
pci hotplug: make pci hotplug return value to caller
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 22 Jun 2010 02:55:35 +0000 (11:55 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 11 Jul 2010 20:31:52 +0000 (23:31 +0300)
commita213ff63ead450c3bf3b47497681a1498570fcdd
tree4e045527d666ff2349f9af95bd116cdd0bfb7daf
parentbd57ce8c7b3ab2c74335947e69f1eabc73fae438
pci hotplug: make pci hotplug return value to caller

make pci hotplug callback return value to caller.
And when returning error, allocated resources are freed.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci.c