|
|
@ -476,8 +476,6 @@ function vm_boot() { |
|
|
|
-audiodev pa,id=pa,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} |
|
|
|
-audiodev pa,id=pa,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} |
|
|
|
-device intel-hda -device hda-duplex,audiodev=pa,mixer=off |
|
|
|
-device intel-hda -device hda-duplex,audiodev=pa,mixer=off |
|
|
|
-rtc base=localtime,clock=host |
|
|
|
-rtc base=localtime,clock=host |
|
|
|
-object rng-random,id=rng0,filename=/dev/urandom |
|
|
|
|
|
|
|
-device virtio-rng-pci,rng=rng0 |
|
|
|
|
|
|
|
-spice ${SPICE} |
|
|
|
-spice ${SPICE} |
|
|
|
-device virtio-serial-pci |
|
|
|
-device virtio-serial-pci |
|
|
|
-chardev spicevmc,id=vdagent0,name=vdagent |
|
|
|
-chardev spicevmc,id=vdagent0,name=vdagent |
|
|
@ -545,6 +543,8 @@ function vm_boot() { |
|
|
|
-device usb-ccid |
|
|
|
-device usb-ccid |
|
|
|
-chardev spicevmc,id=ccid,name=smartcard |
|
|
|
-chardev spicevmc,id=ccid,name=smartcard |
|
|
|
-device ccid-card-passthru,chardev=ccid) |
|
|
|
-device ccid-card-passthru,chardev=ccid) |
|
|
|
|
|
|
|
-device virtio-rng-pci,rng=rng0 |
|
|
|
|
|
|
|
-object rng-random,id=rng0,filename=/dev/urandom) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ -n "${USB_PASSTHROUGH}" ]; then |
|
|
|
if [ -n "${USB_PASSTHROUGH}" ]; then |
|
|
|