On Mon, Oct 5, 2015 at 5:18 PM, Paolo Bonzini <pbonz...@redhat.com> wrote:
> > > On 04/10/2015 17:01, poma wrote: > > > > qemu-system-x86_64 ... \ > > -chardev > udp,id=charserial0,host=127.0.0.1,port=4555,localaddr=127.0.0.1,localport=4556 > \ > > -device isa-serial,chardev=charserial0,id=serial0 > > > > > > # netstat -an | grep 4555 > > udp 0 0 127.0.0.1:4556 127.0.0.1:4555 > ESTABLISHED > > > > How is it supposed to work? > > You should use "nc -up 4555 localhost 4556". Just like QEMU needs both > ends, so does nc (the source host can also be specified, optionally, > with nc's -s option). > > Paolo > > or socat - UDP:127.0.0.1:4556,sourceport=4555 Thanks man!