]> git.proxmox.com Git - mirror_qemu.git/commit
bootindex: rework add_boot_device_path function
authorGonglei <arei.gonglei@huawei.com>
Tue, 7 Oct 2014 08:00:09 +0000 (16:00 +0800)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Oct 2014 07:52:47 +0000 (09:52 +0200)
commite614b54b9340e6fe14eaecd378a2d7d7ebcde736
tree27856050635f7c6c6bc7dc7057862c56ba694d7a
parentbdbb5b1706d165e8d4222121f1e9b59b6b4359ce
bootindex: rework add_boot_device_path function

Add the function of updating bootindex about fw_boot_order list
in add_boot_device_path(). We should delete the old one if a
device has existed in 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