projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b048152
)
qdev: Fix regression in "pci_add ... storage if=virtio, ..."
author
Markus Armbruster
<armbru@redhat.com>
Tue, 16 Jun 2009 14:24:44 +0000
(16:24 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 16 Jun 2009 20:18:35 +0000
(15:18 -0500)
qemu_pci_hot_add_storage() runs qdev_init() twice. Broken in commit
07e3af9a
"Virtio-blk qdev conversion".
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci-hotplug.c
patch
|
blob
|
history
diff --git
a/hw/pci-hotplug.c
b/hw/pci-hotplug.c
index
abe5bae
..
4d49c29
100644
(file)
--- a/
hw/pci-hotplug.c
+++ b/
hw/pci-hotplug.c
@@
-122,7
+122,6
@@
static PCIDevice *qemu_pci_hot_add_storage(Monitor *mon, PCIBus *pci_bus,
break;
case IF_VIRTIO:
opaque = pci_create_simple(pci_bus, -1, "virtio-blk-pci");
- qdev_init(opaque);
break;
}