[pve-devel] [PATCH qemu-server 2/3] query cpu flags: query correct model for TCG
Fiona Ebner
f.ebner at proxmox.com
Tue Jan 27 17:15:00 CET 2026
With TCG, there is no 'host' model. Use the 'max' model instead. Note
that this does not actually change the result on x86_64 but is
required for aarch64.
Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---
src/PVE/QemuServer.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/PVE/QemuServer.pm b/src/PVE/QemuServer.pm
index ebb6ae19..9ab25c49 100644
--- a/src/PVE/QemuServer.pm
+++ b/src/PVE/QemuServer.pm
@@ -2988,7 +2988,7 @@ sub query_supported_cpu_flags {
$fakevmid,
'query-cpu-model-expansion',
type => 'full',
- model => { name => 'host' },
+ model => { name => $kvm ? 'host' : 'max' },
);
my $props = $cmd_result->{model}->{props};
--
2.47.3
More information about the pve-devel
mailing list