[elbe-devel] [PATCH v2 1/1] Replace qemu -enable-kvm option
Bastian Germann
bage at linutronix.de
Wed Feb 22 21:20:36 CET 2023
QEMU's -enable-kvm option maps to the old-style -machine accel which is
incompatible with the -accel option in current qemu versions. The -accel
option is implied by libvirt's 'hvm' machine type that is used with Elbe's
defaults.
Replace the -enable-kvm that ends up in libvirt so Elbe is compatible with
bookworm. The replacement is at least available since buster (oldest
supported release for the client).
Fixes: #347
Signed-off-by: Bastian Germann <bage at linutronix.de>
---
elbepack/xmldefaults.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/xmldefaults.py b/elbepack/xmldefaults.py
index 493519a292..888b8886d8 100644
--- a/elbepack/xmldefaults.py
+++ b/elbepack/xmldefaults.py
@@ -132,7 +132,7 @@ ppc64el_defaults = {
amd64_defaults = {
"arch": "amd64",
"interpreter": "qemu-system-x86_64",
- "interpreter-args": ["-enable-kvm"],
+ "interpreter-args": ["-accel", "kvm"],
"console": "ttyS0,115200n1",
"machine": "pc",
"nicmodel": "virtio",
--
2.39.1
More information about the elbe-devel
mailing list