mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-06 22:47:41 -07:00
kvm_arch_get_default_type() returns the default KVM type. This hook is
particularly useful to derive a KVM type that is valid for "none"
machine model, which is used by libvirt to probe the availability of
KVM.
For MIPS, the existing mips_kvm_type() is reused. This function ensures
the availability of VZ which is mandatory to use KVM on the current
QEMU.
Cc: qemu-stable@nongnu.org
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230727073134.134102-2-akihiko.odaki@daynix.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: added doc comment for new function]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| bootloader.c | ||
| boston.c | ||
| cps.c | ||
| fuloong2e.c | ||
| fw_cfg.c | ||
| fw_cfg.h | ||
| gt64xxx_pci.c | ||
| jazz.c | ||
| Kconfig | ||
| loongson3_bootp.c | ||
| loongson3_bootp.h | ||
| loongson3_virt.c | ||
| malta.c | ||
| meson.build | ||
| mips_int.c | ||
| mipssim.c | ||
| trace-events | ||
| trace.h | ||