mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-26 14:03:49 +03:00
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>
This commit is contained in:
parent
dc4ec0e30b
commit
22c082b8a2
@ -122,7 +122,6 @@ testQemuHotplugCheckResult(virDomainObj *vm,
|
||||
VIR_DOMAIN_DEF_FORMAT_SECURE);
|
||||
if (!actual)
|
||||
return -1;
|
||||
vm->def->id = QEMU_HOTPLUG_TEST_DOMAIN_ID;
|
||||
|
||||
if (STREQ(expected, actual)) {
|
||||
if (fail)
|
||||
|
Loading…
x
Reference in New Issue
Block a user