From: Gonglei <arei.gong...@huawei.com> Patch 1 check boot order arguments validation before vm running. Patch 2 passing &error_abort to restore_boot_order() because qemu_boot_set() can't fail in that scenario.
v4 -> v3: - drop the original patch 1. (Markus) - rework patch 1 (remove local variable 'order') and patch 2. (Markus) - drop patch 4 avoiding regression of HMP command set_boot. v3 -> v2: - rework patch 2 using clearer variable name and coding order. (Markus) - add patch 4 in this patch series because of revelance. v2 -> v1: - add patch 2 suggested by Markus. - rework patch 3. (Maruks) - add R-by in patch 1. Gonglei (2): bootdevice: check boot order argument validation before vm running bootdevice: add check in restore_boot_order() bootdevice.c | 4 +++- vl.c | 36 ++++++++++++++++++++++-------------- 2 files changed, 25 insertions(+), 15 deletions(-) -- 1.7.12.4