]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: reset VM id after external devices stop
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 8 Aug 2019 14:54:58 +0000 (18:54 +0400)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 6 Sep 2019 10:47:47 +0000 (12:47 +0200)
commit13e6083efa5ed395e9bafbce8be88b25407678d6
tree34590278413655dd70646ce4cffd9f76b49d508c
parent2078be3e465bd964e2120fd33aa3ef138ef1b7ab
qemu: reset VM id after external devices stop

pid filenames (from swtpm and other helpers from this series) are
based on VM shortname, which is derived from VM id. If the id is reset
to early, the state filenames will not be found.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_process.c