]> Git Repo - qemu.git/blobdiff - bootdevice.c
target-alpha: Special case cmpbge with zero
[qemu.git] / bootdevice.c
index eacd8c88c27d50659ccd67f2acd09d27011447cf..3cdc0d7b2249f73804055a767906462b6980532b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * QEMU Boot Device Implement
  *
- * Copyright (c) 2014 HUAWEI TECHNOLOGIES CO.,LTD.
+ * Copyright (c) 2014 HUAWEI TECHNOLOGIES CO., LTD.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a copy
  * of this software and associated documentation files (the "Software"), to deal
@@ -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);
This page took 0.024904 seconds and 4 git commands to generate.