Skip to content
Sean Plank edited this page Jul 29, 2016 · 7 revisions

welcome to xhyve.

Serial redirection

socat -d -d pty,raw,echo=0 pty,raw,echo=0
2016/07/29 12:02:20 socat[38801] N PTY is /dev/ttys002
2016/07/29 12:02:20 socat[38801] N PTY is /dev/ttys005
2016/07/29 12:02:20 socat[38801] N starting data transfer loop with FDs [5,5] and [7,7]

xhyve -A -m 2G -c 2 -s 0:0,hostbridge -s 31,lpc -l com1,/dev/ttys002 -s 2:0,virtio-net -s 4,virtio-blk,/Users/plank/img-vm/FreeBSD-11.0-BETA2-amd64.raw -f fbsd,/Users/plank/img-vm/userboot.so,/Users/plank/img-vm/FreeBSD-11.0-BETA2-amd64.raw,

screen /dev/ttys005 115200
Clone this wiki locally