Loading
nixos/qemu-vm: add `enableSharedMemory` option
This option configures a memfd backend for the VM's memory with the size of `virtualisation.memorySize` and uses that as default memory backend. This is required for e.g. vhost-device-vsock. The motivation for making this an option is that I decided to enable this by default for all NixOS tests to avoid changing essential QEMU options based on whether or not debugging is enabled. However, there should be an easy way to turn it off which is what this option provides.