enable check if host support all cpu flags configured for the guests this avoid some bad setup like Opteron vcpu on a intel host for example, and avoid some bad live migrations
Signed-off-by: Alexandre Derumier <[email protected]> --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 2093990..2a71659 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -2504,7 +2504,7 @@ sub config_to_command { $cpu .= "," . join(',', @$cpuFlags) if scalar(@$cpuFlags); - push @$cmd, '-cpu', $cpu; + push @$cmd, '-cpu', $cpu.",enforce"; push @$cmd, '-S' if $conf->{freeze}; -- 1.7.10.4 _______________________________________________ pve-devel mailing list [email protected] http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
