libvirt/src/qemu
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
..
EVENTHANDLERS.txt qemu: add short document on qemu event handlers 2014-10-06 13:50:57 -04:00
libvirtd_qemu.aug qemu: Automatically create NVRAM store 2014-09-10 09:38:07 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c qemu: agent: Don't automatically disable CPU0 via guest agent 2015-07-01 09:38:02 +02:00
qemu_agent.h qemu: wire up virDomainSetUserPassword 2015-05-21 16:24:02 +02:00
qemu_blockjob.c qemu: Don't mess with disk->mirrorState 2015-06-19 15:15:10 +02:00
qemu_blockjob.h qemu: Use domain condition for synchronous block jobs 2015-06-19 15:15:10 +02:00
qemu_capabilities.c qemu: add capabilities bit for device xio3130-downstream 2015-08-09 22:29:25 -04:00
qemu_capabilities.h qemu: add capabilities bit for device xio3130-downstream 2015-08-09 22:29:25 -04:00
qemu_cgroup.c qemu: Sync BlkioDevice values when setting them in cgroups 2015-08-18 16:27:43 -07:00
qemu_cgroup.h qemu: cgroup: Kill qemuSetupCgroupVcpuPin() 2015-04-02 10:12:08 +02:00
qemu_command.c qemu: add udp interface support 2015-09-02 10:17:50 +02:00
qemu_command.h qemu: Refactor creation of shared memory device commandline 2015-07-08 16:30:42 +02:00
qemu_conf.c Detect location of qemu-bridge-helper 2015-08-13 21:31:55 +02:00
qemu_conf.h qemu: Adjust VM id allocation 2015-07-29 09:15:44 +02:00
qemu_domain.c qemu: Fix access to auto-generated socket paths 2015-08-24 11:53:17 +02:00
qemu_domain.h qemu: Wait for migration events on domain condition 2015-07-09 21:57:30 +02:00
qemu_driver.c Revert "LXC: show used memory as 0 when domain is not active" 2015-08-28 09:05:26 -06:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
qemu_hostdev.h Capitalize USB, PCI and SCSI in hostdev methods 2014-03-12 16:20:01 +00:00
qemu_hotplug.c qemu: add udp interface support 2015-09-02 10:17:50 +02:00
qemu_hotplug.h qemu: Implement memory device hotunplug 2015-03-23 14:41:14 +01:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_interface.c qemu: add udp interface support 2015-09-02 10:17:50 +02:00
qemu_interface.h qemu: add a qemuInterfaceStopDevices(), called when guest CPUs stop 2014-12-13 22:20:28 -05:00
qemu_migration.c qemu: Forbid image pre-creation for non-shared storage migration 2015-08-05 17:24:59 +02:00
qemu_migration.h qemu: Remember incoming migration errors 2015-07-10 11:47:13 +02:00
qemu_monitor_json.c qemu: Update state of block job to READY only if it actually is ready 2015-07-21 15:32:59 +02:00
qemu_monitor_json.h qemu: monitor: Remove qemuMonitorGetBlockExtent 2015-06-26 16:41:24 +02:00
qemu_monitor_text.c Drive hot-unplug: reliable parsing of HMP results 2015-08-12 18:30:28 +02:00
qemu_monitor_text.h qemu: monitor: Remove qemuMonitorGetBlockExtent 2015-06-26 16:41:24 +02:00
qemu_monitor.c qemuMonitorOpenInternal: remove redundant code 2015-08-10 13:47:33 +02:00
qemu_monitor.h fix typo in qemu_monitor 2015-07-24 14:29:34 +02:00
qemu_process.c qemu: Label correct per-VM path when starting 2015-08-26 10:44:14 +02:00
qemu_process.h qemu: Connect to guest agent after channel hotplug 2015-04-26 17:19:22 +02:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
test_libvirtd_qemu.aug.in qemu: Add AAVMF to the list of known UEFIs 2015-01-29 15:20:47 +01:00
THREADS.txt There is no virDomainFindBy{ID, Name, UUID} anymore 2015-08-03 13:08:00 +02:00