libvirt/src
Jiri Denemark c0806dc30b domain: Fix migratable XML with graphics/@listen
As of commit 6992994, we set graphics/@listen attribute according to the
first listen child element even if that element is of type='network'.
This was done for backward compatibility with applications which only
support the original listen attribute. However, by doing so we broke
migration to older libvirt which tried to check that the listen
attribute matches one of the listen child elements but which did not
take type='network' elements into account.

We are not concerned about compatibility with old applications when
formatting domain XML for migration for two reasons. The XML is consumed
only by libvirtd and the IP address associated with type='network'
listen address on the source host is just useless on the destination
host. Thus, we can safely avoid propagating the type='network' IP
address to graphics/@listen attribute when creating migratable XML.

https://bugzilla.redhat.com/show_bug.cgi?id=1265111

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2015-09-24 17:07:33 +02:00
..
access viraccessperm.h: Fix some typos 2015-07-17 09:41:31 +02:00
admin admin: Tiny cleanups 2015-07-27 09:33:24 +02:00
bhyve virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
conf domain: Fix migratable XML with graphics/@listen 2015-09-24 17:07:33 +02:00
cpu cpu: Introduce IvyBridge CPU model 2015-09-07 12:36:06 +02:00
esx vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01:00
hyperv conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
interface
libxl virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
locking locking: Remove redundant 'srv' element from virLockDaemon 2015-08-24 10:37:12 +02:00
lxc virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
network networkBandwidthGenericChecks: Drop useless check 2015-08-12 10:57:36 +02:00
node_device nodedev: update netdev feature bits before each dumpxml 2015-06-17 13:51:33 -04:00
nwfilter nwfilter: Fix sscanf off-by-one error in virNWFilterSnoopLeaseFileLoad 2015-06-02 10:16:29 +02:00
openvz virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
phyp conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
qemu qemu: Resolve Coverity RESOURCE_LEAK 2015-09-24 09:53:39 -04:00
remote Change name of the domain upon successful rename 2015-09-04 18:55:01 +02:00
rpc client rpc: Process pending data on error 2015-09-23 13:09:50 +02:00
secret
security security_selinux: Take @privileged into account 2015-09-15 11:30:14 +02:00
storage virfile: Rename virFileUnlink to virFileRemove 2015-09-21 08:24:16 -04:00
test virDomainRestore: Don't keep transient domains around 2015-09-24 10:52:38 +02:00
uml virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
util Use VIR_DIV_UP macro where possible 2015-09-23 11:45:59 +02:00
vbox conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
vmware virDomainCreateXML: Make domain definition transient 2015-09-24 10:52:38 +02:00
vmx conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
vz conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
xen conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
xenapi conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
xenconfig conf: Rename max_balloon to total_memory 2015-09-22 16:09:28 +02:00
admin_protocol-structs Revert "admin: Add virAdmHello function" 2015-06-16 14:08:59 +02:00
check-aclperms.pl
check-aclrules.pl
check-driverimpls.pl
check-drivername.pl
check-symfile.pl
check-symsorting.pl
datatypes.c Add libvirt-admin library 2015-06-16 13:46:20 +02:00
datatypes.h fix typo in comments 2015-08-10 09:39:13 +02:00
driver-hypervisor.h Introduce virDomainRename API 2015-08-14 10:50:20 +02:00
driver-interface.h
driver-network.h
driver-nodedev.h
driver-nwfilter.h
driver-secret.h
driver-state.h
driver-storage.h
driver-stream.h
driver.c Use the DEFAULT_DRIVER_DIR macro 2015-04-02 10:27:56 +02:00
driver.h
dtrace2systemtap.pl
fdstream.c storage: tweak condition to properly test lseek 2015-03-04 14:51:44 +01:00
fdstream.h
gnutls_1_0_compat.h
internal.h internal: Introduce virCheckNonEmptyStringArgGoto and reuse it 2015-06-26 16:05:10 +02:00
libvirt_admin_private.syms libvirt-admin: Generate symbols file 2015-08-20 10:19:27 +02:00
libvirt_admin_public.syms libvirt-admin: Generate symbols file 2015-08-20 10:19:27 +02:00
libvirt_atomic.syms
libvirt_driver_modules.syms
libvirt_esx.syms
libvirt_gnutls.syms
libvirt_internal.h
libvirt_libssh2.syms
libvirt_linux.syms
libvirt_lxc.syms
libvirt_openvz.syms
libvirt_private.syms conf: Pre-calculate initial memory size instead of always calculating it 2015-09-22 16:09:28 +02:00
libvirt_probes.d
libvirt_public.syms Introduce virDomainRename API 2015-08-14 10:50:20 +02:00
libvirt_qemu_probes.d
libvirt_qemu.syms
libvirt_remote.syms rpc: Remove keepalive_required option 2015-08-10 13:15:56 +02:00
libvirt_sasl.syms
libvirt_vmware.syms
libvirt_vmx.syms
libvirt_xenconfig.syms
libvirt_xenxlconfig.syms
libvirt-admin.c admin: Resolve leaked reference to private data 2015-09-08 10:07:18 +02:00
libvirt-domain-snapshot.c Fix typo incomaptible -> incompatible 2015-06-30 12:26:25 +02:00
libvirt-domain.c Minor typo fixes in documentation 2015-09-15 11:27:35 +02:00
libvirt-host.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-interface.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-lxc.c
libvirt-lxc.pc.in
libvirt-network.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nodedev.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-nwfilter.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-qemu.c
libvirt-qemu.pc.in
libvirt-secret.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-storage.c debug: assure NULLSTR() around all %s args in debug at top of public APIs 2015-05-28 13:13:45 -04:00
libvirt-stream.c
libvirt.c parallels: substitute parallels with vz spec file and Makefile 2015-06-17 15:07:55 +03:00
libvirt.conf
libvirt.pc.in
lock_protocol-structs
lxc_monitor_protocol-structs Remove explicit enum from protocol structures 2015-07-08 14:34:38 +02:00
lxc_protocol-structs
Makefile.am Makefile: fix build fail when make rpm 2015-09-23 08:06:56 +02:00
nodeinfo.c nodeinfo: Fix build failure when KVM headers are not available 2015-08-03 17:14:16 +02:00
nodeinfo.h nodeinfo: Fix output on PPC64 KVM hosts 2015-08-03 08:38:46 -04:00
nodeinfopriv.h nodeinfo: Make sysfs_prefix usage more consistent 2015-07-14 17:11:36 -04:00
qemu_protocol-structs
README
remote_protocol-structs protocol: Don't use rename as a variable name 2015-08-15 17:15:33 +02:00
virkeepaliveprotocol-structs
virnetprotocol-structs

       libvirt library code README
       ===========================

The directory provides the bulk of the libvirt codebase. Everything
except for the libvirtd daemon and client tools. The build uses a
large number of libtool convenience libraries - one for each child
directory, and then links them together for the final libvirt.so,
although some bits get linked directly to libvirtd daemon instead.

The files directly in this directory are supporting the public API
entry points & data structures.

There are two core shared modules to be aware of:

 * util/  - a collection of shared APIs that can be used by any
            code. This directory is always in the include path
            for all things built

 * conf/  - APIs for parsing / manipulating all the official XML
            files used by the public API. This directory is only
            in the include path for driver implementation modules

 * vmx/   - VMware VMX config handling (used by esx/ and vmware/)


Then there are the hypervisor implementations:

 * bhyve         - bhyve - The BSD Hypervisor
 * esx/          - VMware ESX and GSX support using vSphere API over SOAP
 * hyperv/       - Microsoft Hyper-V support using WinRM
 * lxc/          - Linux Native Containers
 * openvz/       - OpenVZ containers using cli tools
 * phyp/         - IBM Power Hypervisor using CLI tools over SSH
 * qemu/         - QEMU / KVM using qemu CLI/monitor
 * remote/       - Generic libvirt native RPC client
 * test/         - A "mock" driver for testing
 * uml/          - User Mode Linux
 * vbox/         - Virtual Box using native API
 * vmware/       - VMware Workstation and Player using the vmrun tool
 * xen/          - Xen using hypercalls, XenD SEXPR & XenStore
 * xenapi/       - Xen using libxenserver


Finally some secondary drivers that are shared for several HVs.
Currently these are used by LXC, OpenVZ, QEMU, UML and Xen drivers.
The ESX, Hyper-V, Power Hypervisor, Remote, Test & VirtualBox drivers all
implement the secondary drivers directly

 * cpu/          - CPU feature management
 * interface/    - Host network interface management
 * network/      - Virtual NAT networking
 * nwfilter/     - Network traffic filtering rules
 * node_device/  - Host device enumeration
 * secret/       - Secret management
 * security/     - Mandatory access control drivers
 * storage/      - Storage management drivers


Since both the hypervisor and secondary drivers can be built as
dlopen()able modules, it is *FORBIDDEN* to have build dependencies
between these directories. Drivers are only allowed to depend on
the public API, and the internal APIs in the util/ and conf/
directories