diff options
Diffstat (limited to 'bootdevice.c')
-rw-r--r-- | bootdevice.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bootdevice.c b/bootdevice.c index eacd8c88c2..673bfef60c 100644 --- a/bootdevice.c +++ b/bootdevice.c @@ -105,7 +105,9 @@ void restore_boot_order(void *opaque) return; } - qemu_boot_set(normal_boot_order, NULL); + if (boot_set_handler) { + qemu_boot_set(normal_boot_order, &error_abort); + } qemu_unregister_reset(restore_boot_order, normal_boot_order); g_free(normal_boot_order); |