qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] CharUDP - Connection refused


From: poma
Subject: Re: [Qemu-devel] CharUDP - Connection refused
Date: Mon, 5 Oct 2015 18:21:55 +0200

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]