applied with minor cleanup: > + $snap->{vmstate} = &$alloc_vmstate_volid($storecfg, $vmid, $conf, > $snapname); > + # always overwrite machine if we save vmstate. This makes sure we > + # can restore it later using correct machine type > + $snap->{machine} = get_current_qemu_machine($vmid) if $snap->{vmstate};
$snap->{vmstate} is always true here, so I remove this check. _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel