mirror of
https://github.com/systemd/systemd
synced 2024-07-22 10:44:58 +00:00
vmspawn: enabled free page reporting in qemu by default
Fixes issue #32025, I saw no reason not to enable this by default so I added it to the initial qemu cmdline.
This commit is contained in:
parent
f87a606e10
commit
657be6bdc7
|
@ -1258,7 +1258,8 @@ static int run_virtual_machine(int kvm_device_fd, int vhost_device_fd) {
|
|||
"-smp", arg_cpus ?: "1",
|
||||
"-m", mem,
|
||||
"-object", "rng-random,filename=/dev/urandom,id=rng0",
|
||||
"-device", "virtio-rng-pci,rng=rng0,id=rng-device0"
|
||||
"-device", "virtio-rng-pci,rng=rng0,id=rng-device0",
|
||||
"-device", "virtio-balloon,free-page-reporting=on"
|
||||
);
|
||||
if (!cmdline)
|
||||
return log_oom();
|
||||
|
|
Loading…
Reference in a new issue