[libvirt] [PATCH libvirt 1/2] domain: add <forward> element for user mode networking

Marc-André Lureau marcandre.lureau at gmail.com
Mon May 14 11:29:11 UTC 2012


Hi

Ah, I just realized that there is 'guestfwd' support already, so we
may want to use the same syntax

<channel type='tcp'>
  <source mode='bind' host='127.0.0.1' service='2222'/>
  <target type='hostfwd' address='10.0.2.15' port='22'/>
</channel>

It seems a bit contrieved to me, it is harder to interpret. 'host'
address and guest 'address' are no longer optional. There is no way to
specify the protocol.

However, I imagined we may want to move the <forward/> element I added
to the devices top level, since it is not bound to an interface device
in fact.

Please comment, I need some guidance.

-- 
Marc-André Lureau




More information about the libvir-list mailing list