[pve-devel] [PATCH] qemu_machine_pxe : return $machine if no pxe

Alexandre Derumier aderumier at odiso.com
Mon Feb 22 17:15:13 CET 2016


Currently migration is broken, because qemu_machine_pxe return nothing if no pxe rom exist.

That mean that we don't pass -machine flag to migration, and migration is broken between qemu 2.4->2.5

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index bf2c480..c199437 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -6627,6 +6627,7 @@ sub qemu_machine_pxe {
 	last;
     }
 
+    return $machine;
 }
 
 sub qemu_use_old_bios_files {
-- 
2.1.4




More information about the pve-devel mailing list