From 378d71ef7e64da7b3221e4f1f9d97fa7fdadf3de Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 3 Apr 2023 13:35:18 +0200 Subject: [PATCH] testutilsqemu: Drop fake machine capability data for 'x86_64' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that all tests were converted to use real capabilities we can drop x86_64 from the tooling to create fake capabilities. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- tests/testutilsqemu.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index 8996f846bc..cde633e075 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -27,21 +27,15 @@ static virCPUDef *cpuPower10; static const char *qemu_emulators[VIR_ARCH_LAST] = { - [VIR_ARCH_X86_64] = "/usr/bin/qemu-system-x86_64", -}; - -static const char *const x86_64_machines[] = { - "pc", "q35", NULL }; static const char *const *qemu_machines[VIR_ARCH_LAST] = { - [VIR_ARCH_X86_64] = x86_64_machines, }; static const char *qemu_default_ram_id[VIR_ARCH_LAST] = { - [VIR_ARCH_X86_64] = "pc.ram", }; + char * virFindFileInPath(const char *file) {