mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-04 18:29:16 +00:00
followup: improve error message for outdated QEMU version
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
a77a53ae54
commit
cbb39a7e79
@ -3473,7 +3473,7 @@ sub config_to_command {
|
|||||||
$kvm //= 1 if is_native($arch);
|
$kvm //= 1 if is_native($arch);
|
||||||
|
|
||||||
$machine_version =~ m/(\d+)\.(\d+)/;
|
$machine_version =~ m/(\d+)\.(\d+)/;
|
||||||
die "QEMU version $kvmver is too old to run machine type $machine_type\n"
|
die "Installed QEMU version '$kvmver' is too old to run machine type '$machine_type', please upgrade node '$nodename'\n"
|
||||||
if !PVE::QemuServer::min_version($kvmver, $1, $2);
|
if !PVE::QemuServer::min_version($kvmver, $1, $2);
|
||||||
|
|
||||||
if ($kvm) {
|
if ($kvm) {
|
||||||
|
Loading…
Reference in New Issue
Block a user