From: Ján Tomko Date: Sat, 8 Sep 2018 21:25:10 +0000 (+0200) Subject: tests: drop redundant virQEMUCapsFilterByMachineType X-Git-Tag: v4.8.0-rc1~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64b14cf8e50dacd206f05c018f91b1870c81d0a;p=thirdparty%2Flibvirt.git tests: drop redundant virQEMUCapsFilterByMachineType Introduced by commit . 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 --- diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c index 04b6c00eba..816a3055a2 100644 --- a/tests/qemuxml2argvtest.c +++ b/tests/qemuxml2argvtest.c @@ -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: