projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e614b54
)
bootindex: support to set a existent device's bootindex to -1
author
Gonglei
<arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:10 +0000
(16:00 +0800)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:47 +0000
(09:52 +0200)
When set a device's bootindex to -1, we remove it from global
fw_boot_order list.
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 aac0ffbcefcb2788b1f4caeeebb215ad550b1c52..a38479a72a933d7ab3d84c17d5dd35b38d003607 100644
(file)
--- a/
bootdevice.c
+++ b/
bootdevice.c
@@
-77,6
+77,7
@@
void add_boot_device_path(int32_t bootindex, DeviceState *dev,
FWBootEntry *node, *i;
if (bootindex < 0) {
+ del_boot_device_path(dev, suffix);
return;
}