[pve-devel] [PATCH 3/3] kvm: introduce qemuver and set machine flag based on qemuver
Dietmar Maurer
dietmar at proxmox.com
Wed May 29 06:21:10 CEST 2013
> > But the qemu version might have change since you started the VM. So if
> > you query the version on doing the snapshot it might not be the
> > version actually running. This also affects migrations.
>
> So you need to query the 'machine' type qemu is actually using (not a
> 'version')?
I only found a way to query the available machine types (including default type):
my $cmd = { execute => 'query-machines', arguments => {} };
my $res = PVE::QemuServer::vm_qmp_command($vmid, $cmd);
But I this also changes on updates.
Maybe we can change that to include the currently used machine type?
More information about the pve-devel
mailing list