[Top][All Lists]

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

Re: [Qemu-discuss] "-net user,guestfwd" protocol issue

From: Denis Buzdalov
Subject: Re: [Qemu-discuss] "-net user,guestfwd" protocol issue
Date: Wed, 26 Aug 2015 16:51:56 +0300

Let me answer myself. I've found a workaround.

> According to documentation and experiments, guestfwd does not support
> UDP unlike its brother hostfwd. Does anyone know whether this is
> intentional (e.g. there are some difficulties in implementation) or
> this feature wasn't relevant and thus not implemented yet?

Since code that manages "guestfwd" option doesn't do anything with the
protocol itself, it's actually possible to forward UDP datagrams using
udp chardev.

I.e. if I want to write something like

-net user,guestfwd=udp:

which is not possible since UDP is not supported protocol for guestfwd,
I can do the same thing using the following parameters:

-chardev udp,id=m8,host=,port=800 \
-net user,guestfwd=:

At this configuration any guest's UDP datagram to is
forwarded as a datagram to of the host (the behaviour I
wanted originally).

Denis Buzdalov

reply via email to

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