nixpkgs-suyu/nixos/modules/virtualisation/qemu-opts

4 lines
254 B
Text

-device virtio-serial \
-chardev socket,id=charconsole0,path=/tmp/nixos-socket,server,nowait \
#-device virtconsole,chardev=charconsole0,id=console0 \
-device virtserialport,chardev=chardev=charconsole0,id=serial0