[pve-devel] [PATCH qemu-server] Refactor snapshot code
    Dietmar Maurer 
    dietmar at proxmox.com
       
    Mon Feb 15 13:27:53 CET 2016
    
    
  
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.
    
    
More information about the pve-devel
mailing list