]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Append mshv to hwaccel list.
authorEugene Fedorenko <eugene.fedor@gmail.com>
Fri, 7 Nov 2025 20:13:54 +0000 (14:13 -0600)
committerMartin Kletzander <mkletzan@redhat.com>
Sat, 22 Nov 2025 07:23:05 +0000 (08:23 +0100)
Append mshv to the default list of hwaccel to use be used by qemu.

Signed-off-by: Eugene Fedorenko <eugene.fedor@gmail.com>
Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/qemu/qemu_process.c

index 45fc32a663c801d06021d8c4ba37db30ef4c0b0b..4ac81c9f937cf036b64d27c0937ed38642f2edfd 100644 (file)
@@ -10103,7 +10103,7 @@ qemuProcessQMPInit(qemuProcessQMP *proc)
 
 
 #if defined(__linux__)
-# define hwaccel "kvm:tcg"
+# define hwaccel "kvm:mshv:tcg"
 #elif defined(__APPLE__)
 # define hwaccel "hvf:tcg"
 #else