Browse Source

vm: Use virtio network driver.

This fixes a regression introduced in 8e53fe2b91
where 'guix system vm' would no longer be using virtio.

* gnu/system/vm.scm (common-qemu-options): Add "-nic user,model=virtio-net-pci".
gn-latest-20200428
Marius Bakke 1 year ago
parent
commit
5379392731
No known key found for this signature in database GPG Key ID: A2A06DF2A33A54FA
  1. 1
      gnu/system/vm.scm

1
gnu/system/vm.scm

@ -941,6 +941,7 @@ with '-virtfs' options for the host file systems listed in SHARED-FS."
'())
"-no-reboot"
"-nic" "user,model=virtio-net-pci"
"-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng"
"-device" "virtio-rng-pci,rng=guixsd-vm-rng"

Loading…
Cancel
Save