From 96d62d9721af8d120d914563cdc89e2fcb26ef33 Mon Sep 17 00:00:00 2001 From: Stefan Schallenberg Date: Wed, 28 Nov 2018 21:45:15 +0000 Subject: [PATCH] qemu: Add Default PCI Device for armv6l versatilepb guests Signed-off-by: Stefan Schallenberg Reviewed-by: Andrea Bolognani --- src/qemu/qemu_domain.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c index 0a5fac2b24..f348eccb2f 100644 --- a/src/qemu/qemu_domain.c +++ b/src/qemu/qemu_domain.c @@ -3260,6 +3260,13 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def, addPCIRoot = true; break; + case VIR_ARCH_ARMV6L: + addDefaultUSB = false; + addDefaultMemballoon = false; + if (STREQ(def->os.machine, "versatilepb")) + addPCIRoot = true; + break; + case VIR_ARCH_ARMV7L: case VIR_ARCH_AARCH64: addDefaultUSB = false; @@ -3305,7 +3312,6 @@ qemuDomainDefAddDefaultDevices(virDomainDefPtr def, addPCIRoot = true; break; - case VIR_ARCH_ARMV6L: case VIR_ARCH_ARMV7B: case VIR_ARCH_CRIS: case VIR_ARCH_ITANIUM: -- GitLab