qemu: updated configuration for 21.11

This commit is contained in:
Serĉanto de Scio 2021-12-30 10:58:37 +10:00
parent d892f2a548
commit 968830da9b
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

@ -167,8 +167,10 @@
virtualisation = { virtualisation = {
libvirtd = { libvirtd = {
enable = true; # Enable libvirtd enable = true; # Enable libvirtd
#qemuPackage = pkgs.qemu_kvm; # Enable guest only for the same arch qemu = {
qemuPackage = pkgs.qemu; # Enable full emulation #package = pkgs.qemu_kvm; # Enable guest only for the same arch
package = pkgs.qemu; # Enable full emulation
};
onShutdown = "shutdown"; # Set gust VMs to shutdown on host shutdown onShutdown = "shutdown"; # Set gust VMs to shutdown on host shutdown
extraConfig = '' extraConfig = ''
disk_bus = "virtio" disk_bus = "virtio"