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 c3a010c094..df9ab0e802 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); |