mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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:
parent
3e6aa0ce96
commit
5379392731
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue