From: Avi Kivity <[email protected]>

These interact badly with seabios, leading to hanging reboots in pmm_free.

Signed-off-by: Avi Kivity <[email protected]>

diff --git a/hw/loader.c b/hw/loader.c
index a08585b..d67fc51 100644
--- a/hw/loader.c
+++ b/hw/loader.c
@@ -622,6 +622,10 @@ int rom_add_vga(const char *file)
 
 int rom_add_option(const char *file)
 {
+    /* temporarily avoid pxe roms */
+    if (strncmp(file, "pxe", 3) == 0)
+        return 0;
+
     if (!rom_enable_driver_roms)
         return 0;
     return rom_add_file(file, PC_ROM_MIN_OPTION, PC_ROM_MAX, PC_ROM_ALIGN);
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to