This speeds up greatly QEMU when running on MacOS. Signed-off-by: Antonio Caggiano <quic_acagg...@quicinc.com> --- lib/qemu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/qemu.c b/lib/qemu.c index 71115a27e..027790e4e 100644 --- a/lib/qemu.c +++ b/lib/qemu.c @@ -309,7 +309,7 @@ test_qemu_devices (guestfs_h *g, struct qemu_data *data) #ifdef MACHINE_TYPE MACHINE_TYPE "," #endif - "accel=kvm:tcg"); + "accel=kvm:hvf:tcg"); guestfs_int_cmd_add_arg (cmd, "-device"); guestfs_int_cmd_add_arg (cmd, "?"); guestfs_int_cmd_clear_capture_errors (cmd); @@ -574,7 +574,7 @@ generic_qmp_test (guestfs_h *g, struct qemu_data *data, #ifdef MACHINE_TYPE MACHINE_TYPE "," #endif - "accel=kvm:tcg"); + "accel=kvm:hvf:tcg"); guestfs_int_cmd_add_string_unquoted (cmd, " -qmp stdio"); guestfs_int_cmd_clear_capture_errors (cmd); -- 2.45.1 _______________________________________________ Libguestfs mailing list -- guestfs@lists.libguestfs.org To unsubscribe send an email to guestfs-le...@lists.libguestfs.org