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".
This commit is contained in:
Marius Bakke 2020-04-10 20:01:37 +02:00
parent 3e6aa0ce96
commit 5379392731
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -941,6 +941,7 @@ (define (virtfs-option fs)
'()) '())
"-no-reboot" "-no-reboot"
"-nic" "user,model=virtio-net-pci"
"-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng" "-object" "rng-random,filename=/dev/urandom,id=guixsd-vm-rng"
"-device" "virtio-rng-pci,rng=guixsd-vm-rng" "-device" "virtio-rng-pci,rng=guixsd-vm-rng"