qemu-guest.nix: Load virtio_rng

This allows the guest to have a paravirtualized RNG, if the host
provides it.
This commit is contained in:
Eelco Dolstra 2014-04-30 18:23:42 +02:00
parent 8f5ebe495c
commit be0f5eb45c

View File

@ -5,7 +5,7 @@
{
boot.initrd.availableKernelModules = [ "virtio_net" "virtio_pci" "virtio_blk" "9p" "9pnet_virtio" ];
boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" ];
boot.initrd.kernelModules = [ "virtio_balloon" "virtio_console" "virtio_rng" ];
boot.initrd.postDeviceCommands =
''