]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: drop redundant virQEMUCapsFilterByMachineType
authorJán Tomko <jtomko@redhat.com>
Sat, 8 Sep 2018 21:25:10 +0000 (23:25 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 12 Sep 2018 12:57:00 +0000 (14:57 +0200)
Introduced by commit <af204232>.

Made redundant by commit 1e9a083 which switched to using
qemuProcessCreatePretendCmd, where capabilities are filtered
in qemuProcessInit after being fetched from the cache.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c

index 04b6c00ebaca4cbf96e4c9d0e21513befb44eb76..816a3055a2bc072ee11430df8a86a35470c65bc4 100644 (file)
@@ -425,8 +425,6 @@ testUpdateQEMUCaps(const struct testInfo *info,
     virQEMUCapsInitHostCPUModel(info->qemuCaps, caps->host.arch,
                                 VIR_DOMAIN_VIRT_QEMU);
 
-    virQEMUCapsFilterByMachineType(info->qemuCaps, vm->def->os.machine);
-
     ret = 0;
 
  cleanup: