Enforce -cpu=host at all times
This commit is contained in:
parent
1b8a043bea
commit
69e14e2aaa
1 changed files with 1 additions and 1 deletions
|
|
@ -63,6 +63,7 @@ func configureBaseVMCmd(logger *slog.Logger, cfg Config) (string, []qemucli.Arg,
|
|||
qemucli.MustNewStringArg("serial", "stdio"),
|
||||
qemucli.MustNewUintArg("m", cfg.MemoryAlloc),
|
||||
qemucli.MustNewUintArg("smp", runtime.NumCPU()),
|
||||
qemucli.MustNewStringArg("cpu", "host"),
|
||||
}
|
||||
|
||||
var accel []qemucli.KeyValueArgItem
|
||||
|
|
@ -96,7 +97,6 @@ func configureBaseVMCmd(logger *slog.Logger, cfg Config) (string, []qemucli.Arg,
|
|||
{Key: "type", Value: "virt"},
|
||||
{Key: "highmem", Value: "off"},
|
||||
}),
|
||||
qemucli.MustNewStringArg("cpu", "host"),
|
||||
)
|
||||
|
||||
baseCmd += "-aarch64"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue