From: Gonglei <arei.gong...@huawei.com> The reset logic can be done by both machine reset and boot handler. So we shouldn't return error when the boot handler callback don't be set in patch 1.
Patch 2 add a process logic when calling qemu_boot_set() failed. Gonglei (2): bootdevice: remove the check about boot_set_handler bootdevice: add check in restore_boot_order() bootdevice.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) -- 1.7.12.4