On 05/29/2014 03:07 AM, Peter Krempa wrote:
> A internal snapshot of a active VM with the memory snapshot disabled
> explicitly would actually still take the memory snapshot. Reject it
> explicitly.
>
> Before:
> $ virsh snapshot-create-as --domain VM --diskspec vda,snapshot=internal --memspec
snapshot=no
> Domain snapshot 1401353155 created
>
> After:
> $ virsh snapshot-create-as --domain VM --diskspec vda,snapshot=internal --memspec
snapshot=no
> error: Operation not supported: internal snapshot of a running VM must include the
memory state
Technically, qemu 1.7 added blockdev-snapshot-internal-sync, so we CAN
take internal disk-only snapshots now. But as that is more complex to
implement, I agree with this patch as an intermediate fix (and we'll
still have to keep this code path for qemu 1.6 and earlier, based on a
qemu_capabilities.h bit).
>
> Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1083345
> ---
> src/qemu/qemu_driver.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
ACK, safe for 1.2.5.