summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-04-10 20:01:37 +0200
committerMarius Bakke <mbakke@fastmail.com>2020-04-10 20:20:11 +0200
commit5379392731b52eef22b4936637eb592b93e04318 (patch)
tree8175fe2d23339945fb57ed3a4dc1440e17b348c7
parent3e6aa0ce968c79869a7a1dcfcfe682865d16ad45 (diff)
vm: Use virtio network driver.
This fixes a regression introduced in 8e53fe2b91d2776bc1529e7b34967c8f1d9edc32 where 'guix system vm' would no longer be using virtio. * gnu/system/vm.scm (common-qemu-options): Add "-nic user,model=virtio-net-pci".
-rw-r--r--gnu/system/vm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 00c6f0fe38..04d84b5220 100644
--- a/gnu/system/vm.scm
+++ b/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"