]> git.proxmox.com Git - qemu-server.git/commitdiff
qemu_machine_pxe : return $machine if no pxe
authorAlexandre Derumier <aderumier@odiso.com>
Mon, 22 Feb 2016 16:15:13 +0000 (17:15 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Feb 2016 16:33:27 +0000 (17:33 +0100)
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@odiso.com>
PVE/QemuServer.pm

index bf2c480df46d3b8062a3341dbed48b1099a286e3..c19943707af4fa3b83a6ae1cfd79c3fb421294e7 100644 (file)
@@ -6627,6 +6627,7 @@ sub qemu_machine_pxe {
        last;
     }
 
+    return $machine;
 }
 
 sub qemu_use_old_bios_files {