Jonathan Toppins 5c668a78d8 qemu: add udp interface support
Adds a new interface type using UDP sockets, this seems only applicable
to QEMU but have edited tree-wide to support the new interface type.

The interface type required the addition of a "localaddr" (local
address), this then maps into the following xml and qemu call.

<interface type='udp'>
  <mac address='52:54:00:5c:67:56'/>
  <source address='127.0.0.1' port='11112'>
    <local address='127.0.0.1' port='22222'/>
  </source>
  <model type='virtio'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
</interface>

QEMU call:
	-net socket,udp=127.0.0.1:11112,localaddr=127.0.0.1:22222

Notice the xml "local" entry becomes the "localaddr" for the qemu call.

reference:
http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00629.html

Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2015-09-02 10:17:50 +02:00
..
2015-09-02 10:17:50 +02:00
2014-12-02 07:30:10 +01:00
2015-08-25 07:21:33 -04:00
2015-07-10 11:47:13 +02:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2015-08-26 11:28:30 +01:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2014-12-02 07:30:10 +01:00
2014-12-02 07:30:10 +01:00
2009-07-16 15:06:42 +02:00
2015-09-02 10:19:20 +08:00
2009-07-29 09:04:21 +01:00
2014-12-02 07:30:10 +01:00
2013-12-02 10:21:26 +08:00
2013-09-12 17:18:32 +08:00
2014-12-02 07:30:10 +01:00