projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cedccf1
)
xen: Drop redundant bdrv_close() from pci_piix3_xen_ide_unplug()
author
Markus Armbruster
<armbru@redhat.com>
Mon, 8 Sep 2014 16:51:00 +0000
(18:51 +0200)
committer
Kevin Wolf
<kwolf@redhat.com>
Wed, 10 Sep 2014 08:41:29 +0000
(10:41 +0200)
drive_del() closes just fine.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/piix.c
patch
|
blob
|
history
diff --git
a/hw/ide/piix.c
b/hw/ide/piix.c
index 59319eb6c1142b482b3fc8a9eb3137682e3c16de..49e78a738af04992eb7d88027867022a5a70ebd6 100644
(file)
--- a/
hw/ide/piix.c
+++ b/
hw/ide/piix.c
@@
-182,7
+182,6
@@
int pci_piix3_xen_ide_unplug(DeviceState *dev)
if (ds) {
bdrv_detach_dev(di->bdrv, ds);
}
- bdrv_close(di->bdrv);
pci_ide->bus[di->bus].ifs[di->unit].bs = NULL;
drive_del(di);
}