|
|
@ -253,13 +253,14 @@ function vm_boot() { |
|
|
|
-device virtio-net,netdev=nic \ |
|
|
|
-device virtio-net,netdev=nic \ |
|
|
|
-rtc base=localtime,clock=host \ |
|
|
|
-rtc base=localtime,clock=host \ |
|
|
|
-serial mon:stdio \ |
|
|
|
-serial mon:stdio \ |
|
|
|
-audiodev pa,id=pa,server=unix:$XDG_RUNTIME_DIR/pulse/native,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} \ |
|
|
|
-audiodev pa,id=pa,server=unix:${XDG_RUNTIME_DIR}/pulse/native,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} \ |
|
|
|
-device intel-hda -device hda-duplex,audiodev=pa \ |
|
|
|
-device intel-hda -device hda-duplex,audiodev=pa \ |
|
|
|
-device qemu-xhci,id=xhci,p2=8,p3=8 -device usb-kbd -device usb-tablet \ |
|
|
|
-device qemu-xhci,id=xhci,p2=8,p3=8 -device usb-kbd -device usb-tablet \ |
|
|
|
-object rng-random,id=rng0,filename=/dev/urandom \ |
|
|
|
-object rng-random,id=rng0,filename=/dev/urandom \ |
|
|
|
-device virtio-rng-pci,rng=rng0 \ |
|
|
|
-device virtio-rng-pci,rng=rng0 \ |
|
|
|
${VIDEO_DEV} \ |
|
|
|
${VIDEO_DEV} \ |
|
|
|
-display ${UI},gl=${GL} ${STATUSQUO} \ |
|
|
|
-display ${UI},gl=${GL} \ |
|
|
|
|
|
|
|
${STATUSQUO} \ |
|
|
|
"$@" |
|
|
|
"$@" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|