diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2023-04-21 10:06:10 +0200 |
---|---|---|
committer | Michal Privoznik <mprivozn@redhat.com> | 2023-04-25 08:46:27 +0200 |
commit | 22c082b8a2cf54421a689368a218cd5cf5ef4d3f (patch) | |
tree | e5c5bb6bf7fbe10d7eafb02fc97454087a9cfb6d | |
parent | dc4ec0e30bf6f65c99ffdcc2b104038b234abfe5 (diff) | |
download | libvirt-22c082b8a2cf54421a689368a218cd5cf5ef4d3f.tar.gz |
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>
-rw-r--r-- | tests/qemuhotplugtest.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/qemuhotplugtest.c b/tests/qemuhotplugtest.c index 635f5a39bd..0794a0c9a4 100644 --- a/tests/qemuhotplugtest.c +++ b/tests/qemuhotplugtest.c @@ -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) |