]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuhotplugtest: Don't overwrite vm->def->id in testQemuHotplugCheckResult()
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 21 Apr 2023 08:06:10 +0000 (10:06 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Apr 2023 06:46:27 +0000 (08:46 +0200)
commit22c082b8a2cf54421a689368a218cd5cf5ef4d3f
treee5c5bb6bf7fbe10d7eafb02fc97454087a9cfb6d
parentdc4ec0e30bf6f65c99ffdcc2b104038b234abfe5
qemuhotplugtest: Don't overwrite vm->def->id in testQemuHotplugCheckResult()

This is a leftover from v2.0.0-rc1~300. In v1.2.12-rc1~43 we've
introduced a code that explicitly sets vm->def->id to -1 to force
generation of inactive XML. But this was removed in the later
commit, which forgot to remove the restoration of the original
dom ID.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
tests/qemuhotplugtest.c