As reported in the enterprise support, using arch aarch64 for a VM in combination with a new enough Windows ostype would fail:
> qemu-system-aarch64: warning: driftfix 'slew' is not available with this > machine > qemu-system-aarch64: Property 'virt-5.1-machine.hpet' not found Conditionalize setting these properties that only exist for x86(_64) according to the QEMU sources (and tested for aarch64 and riscv64). Reported-by: Hannes Dürr <h.du...@proxmox.com> Signed-off-by: Fiona Ebner <f.eb...@proxmox.com> --- PVE/QemuServer.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 5cde94a1..43008f3f 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -3901,10 +3901,10 @@ sub config_to_command { if ($winversion >= 6) { push @$globalFlags, 'kvm-pit.lost_tick_policy=discard'; - push @$machineFlags, 'hpet=off'; + push @$machineFlags, 'hpet=off' if $arch eq 'x86_64'; } - push @$rtcFlags, 'driftfix=slew' if $tdf; + push @$rtcFlags, 'driftfix=slew' if $tdf && $arch eq 'x86_64'; if ($conf->{startdate} && $conf->{startdate} ne 'now') { push @$rtcFlags, "base=$conf->{startdate}"; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel