forked from pool/libguestfs
ddc77aadf5
new package (libguestfs) OBS-URL: https://build.opensuse.org/request/show/85864 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=1
17 lines
669 B
Diff
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).
|