projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d749e10
)
bootindex: delete bootindex when device is removed
author
Gonglei
<arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:37 +0000
(16:00 +0800)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 15 Oct 2014 08:46:01 +0000
(10:46 +0200)
Device should be removed from global boot list when
it is hot-unplugged.
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
bootdevice.c
patch
|
blob
|
history
diff --git
a/bootdevice.c
b/bootdevice.c
index 79c2327142d5a8dd0ba1c4e68bce2469ec7a09fb..56b19529b1bcb3c8f857cb1f22fc4bcb7d8415ae 100644
(file)
--- a/
bootdevice.c
+++ b/
bootdevice.c
@@
-225,6
+225,8
@@
static void property_release_bootindex(Object *obj, const char *name,
{
BootIndexProperty *prop = opaque;
+
+ del_boot_device_path(prop->dev, prop->suffix);
g_free(prop);
}