nixpkgs/nixos/modules/virtualisation/qemu-opts

5 lines
254 B
Plaintext

-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