From 6bb582bff87a8a23ccacf0f57776bf6ba51165da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20P=2E=20Berrang=C3=A9?= Date: Thu, 31 Jan 2019 13:18:39 +0000 Subject: [PATCH] qemu: remove check for 'qemu' binary MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The 'qemu' binary used to provide the i386 emulator until it was renamed to qemu-system-i386 in QEMU 1.0. Since we don't support such old versions we don't need to check for 'qemu' when probing capabilities. Reviewed-by: Erik Skultety Signed-off-by: Daniel P. Berrangé --- src/qemu/qemu_capabilities.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c index f504db7d05..5cf4b617c6 100644 --- a/src/qemu/qemu_capabilities.c +++ b/src/qemu/qemu_capabilities.c @@ -744,12 +744,6 @@ virQEMUCapsFindBinaryForArch(virArch hostarch, goto out; } - /* Third attempt, i686 only: try 'qemu' */ - if (guestarch == VIR_ARCH_I686) { - if ((ret = virQEMUCapsFindBinary("%s", "qemu")) != NULL) - goto out; - } - out: return ret; } -- 2.47.2