[elbe-devel] [PATCH] libvirt: Pin the qemu machine type definition in libvirt.xml to 'pc-i440fx-2.6'

andreas at linutronix.de andreas at linutronix.de
Wed Aug 22 12:49:47 CEST 2018


From: Andreas Messerschmid <andreas.messerschmid at linutronix.de>

The default 'pc' machine type in qemu evaluates to 'pc-i440fx-2.8' in Debian Stretch.
When using the qemu 'pc' machine type with Debian Stretch in a virtualized VMware setup the
ELBE initvm fails to boot after creation. No boot errors are observed with machine
type 'pc-i440fx-2.6'.

Signed-off-by: Andreas Messerschmid <andreas.messerschmid at linutronix.de>
---
 elbepack/init/libvirt.xml.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/init/libvirt.xml.mako b/elbepack/init/libvirt.xml.mako
index c2b3d077..289acfa2 100644
--- a/elbepack/init/libvirt.xml.mako
+++ b/elbepack/init/libvirt.xml.mako
@@ -35,7 +35,7 @@ xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
   <currentMemory unit='KiB'>${memory}</currentMemory>
   <vcpu placement='static'>${cpus}</vcpu>
   <os>
-    <type arch='x86_64' machine='pc'>hvm</type>
+    <type arch='x86_64' machine='pc-i440fx-2.6'>hvm</type>
   </os>
   <features>
     <acpi />
-- 
2.11.0




More information about the elbe-devel mailing list