SHA256
1
0
forked from pool/libguestfs
libguestfs/libguestfs-1.13.14-no-machine.patch

17 lines
669 B
Diff

Index: src/launch.c
===================================================================
--- src/launch.c.orig
+++ src/launch.c
@@ -521,10 +521,7 @@ launch_appliance (guestfs_h *g)
* since it falls back through various different acceleration
* modes, so try that first (thanks Markus Armbruster).
*/
- if (qemu_supports (g, "-machine")) {
- add_cmdline (g, "-machine");
- add_cmdline (g, "accel=kvm:tcg");
- } else {
+ if (1) {
/* qemu sometimes needs this option to enable hardware
* virtualization, but some versions of 'qemu-kvm' will use KVM
* regardless (even where this option appears in the help text).