[libvirt] CharUDP - Connection refused

poma pomidorabelisima at gmail.com
Mon Oct 5 16:21:55 UTC 2015


On Mon, Oct 5, 2015 at 5:18 PM, Paolo Bonzini <pbonzini at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151005/52153319/attachment-0001.htm>


More information about the libvir-list mailing list