Re: CharUDP - Connection refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Oct 5, 2015 at 5:18 PM, Paolo Bonzini <pbonzini@xxxxxxxxxx> 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!

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]