mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-09-23 16:17:50 +00:00
Documenting Hyper-V QEMU acceleration settings
Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
This commit is contained in:
parent
ab7f6095a1
commit
fbbef79c88
1 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,10 @@ var (
|
|||
)
|
||||
|
||||
func (v *MachineVM) addArchOptions() []string {
|
||||
// "max" level is used, because "host" is not supported with "whpx" acceleration
|
||||
// "vmx=off" disabled nested virtualization (not needed for podman)
|
||||
// QEMU issue to track nested virtualization: https://gitlab.com/qemu-project/qemu/-/issues/628
|
||||
// "monitor=off" needed to support hosts, which have mwait calls disabled in BIOS/UEFI
|
||||
opts := []string{"-machine", "q35,accel=whpx:tcg", "-cpu", "max,vmx=off,monitor=off"}
|
||||
return opts
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue