machine/linux: Use memory-backend-memfd by default

This is prep for using virtiofsd; it has no real
impact otherwise.

Signed-off-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Colin Walters
2024-06-05 16:57:49 -04:00
parent 0e57573d1e
commit 406f130590
3 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,7 @@ func (q *QEMUStubber) addArchOptions(_ *setNewMachineCMDOpts) []string {
opts := []string{
"-accel", "kvm",
"-cpu", "host",
"-M", "virt,gic-version=max",
"-M", "virt,gic-version=max,memory-backend=mem",
"-bios", getQemuUefiFile("QEMU_EFI.fd"),
}
return opts