mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Always expose virtio-rng-pci
macOS Big Sur support virtio-rng-pci, so always expose it for simplicity as it doesn't matter if the guest OS doesn't support the device
This commit is contained in:
parent
94f2375ff4
commit
faeefcfb50
1 changed files with 3 additions and 3 deletions
6
quickemu
6
quickemu
|
@ -516,6 +516,8 @@ function vm_boot() {
|
||||||
-device virtio-serial-pci
|
-device virtio-serial-pci
|
||||||
-chardev spicevmc,id=vdagent0,name=vdagent
|
-chardev spicevmc,id=vdagent0,name=vdagent
|
||||||
-device virtserialport,chardev=vdagent0,name=com.redhat.spice.0
|
-device virtserialport,chardev=vdagent0,name=com.redhat.spice.0
|
||||||
|
-device virtio-rng-pci,rng=rng0
|
||||||
|
-object rng-random,id=rng0,filename=/dev/urandom
|
||||||
-monitor none
|
-monitor none
|
||||||
-serial mon:stdio)
|
-serial mon:stdio)
|
||||||
|
|
||||||
|
@ -577,9 +579,7 @@ function vm_boot() {
|
||||||
-device ccid-card-passthru,chardev=ccid
|
-device ccid-card-passthru,chardev=ccid
|
||||||
-device virtio-serial-pci
|
-device virtio-serial-pci
|
||||||
-chardev spiceport,id=webdav0,name=org.spice-space.webdav.0
|
-chardev spiceport,id=webdav0,name=org.spice-space.webdav.0
|
||||||
-device virtserialport,chardev=webdav0,name=org.spice-space.webdav.0
|
-device virtserialport,chardev=webdav0,name=org.spice-space.webdav.0)
|
||||||
-device virtio-rng-pci,rng=rng0
|
|
||||||
-object rng-random,id=rng0,filename=/dev/urandom)
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# https://wiki.qemu.org/Documentation/9psetup
|
# https://wiki.qemu.org/Documentation/9psetup
|
||||||
|
|
Loading…
Reference in a new issue