[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: vm: Use virtio network driver.
From: |
guix-commits |
Subject: |
01/02: vm: Use virtio network driver. |
Date: |
Fri, 10 Apr 2020 14:20:38 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 5379392731b52eef22b4936637eb592b93e04318
Author: Marius Bakke <address@hidden>
AuthorDate: Fri Apr 10 20:01:37 2020 +0200
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".
---
gnu/system/vm.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 00c6f0f..04d84b5 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"