]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Alter VM Generation ID for specific startup/launch transitions
authorJohn Ferlan <jferlan@redhat.com>
Mon, 9 Apr 2018 14:31:17 +0000 (10:31 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 25 May 2018 12:15:47 +0000 (08:15 -0400)
commitc445abb52d3d7ab7869a4ba2b2c35e8e59c3a4f7
treefd83870f42ebb783bf4835bbb914e5143b9e6f9f
parent3005002e0eac412704b33ac53e10b2428ec7d020
qemu: Alter VM Generation ID for specific startup/launch transitions

Before we generate the command line for qemu, if the domain about to
be launched desires to utilize the VM Generation ID functionality, then
handle both the regenerating the GUID value for backup recovery (restore
operation) and the startup after snapshot as both require a new GUID to
be generated to allow the guest operating system to recognize the VM
is re-executing something that has already executed before.

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_process.c
src/qemu/qemu_process.h