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 check boot order argument validation before vm running. Patch 3 passing &error_abort instead of NULL. v2 -> v1: - add patch 2 suggested by Markus. - rework patch 3. (Maruks) - add R-by in patch 1. Gonglei (3): bootdevice: remove the check about boot_set_handler bootdevice: check boot order argument validation before vm running bootdevice: add check in restore_boot_order() bootdevice.c | 12 ++++-------- vl.c | 13 +++++++++++-- 2 files changed, 15 insertions(+), 10 deletions(-) -- 1.7.12.4