libvirt/src/qemu
Pavel Hrdina cd4a8b9304 conf: store "autoGenerated" for graphics listen in status XML
When libvirtd is started we call qemuDomainRecheckInternalPaths
to detect whether a domain has VNC socket path generated by libvirt
based on option from qemu.conf.  However if we are parsing status XML
for running domain the existing socket path can be generated also if
the config XML uses the new <listen type='socket'/> element without
specifying any socket.

The current code doesn't make difference how the socket was generated
and always marks it as "fromConfig".  We need to store the
"autoGenerated" value in the status XML in order to preserve that
information.

The difference between "fromConfig" and "autoGenerated" is important
for migration, because if the socket is based on "fromConfig" we don't
print it into the migratable XML and we assume that user has properly
configured qemu.conf on both hosts.  However if the socket is based
on "autoGenerated" it means that a new feature was used and therefore
we need to leave the socket in migratable XML to make sure that if
this feature is not supported on destination the migration will fail.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-03-09 10:22:43 +01:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu_conf: Add param memory_backing_dir 2017-02-09 14:27:19 +01:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c
qemu_agent.h
qemu_alias.c qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_alias.h qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_blockjob.c qemu_blockjob: Avoid dereferencing NULL on OOM 2017-02-09 11:48:10 +01:00
qemu_blockjob.h
qemu_capabilities.c qemu_capabilities: report SATA bus in domain capabilities 2017-03-07 09:11:03 +01:00
qemu_capabilities.h qemu: Probe "max" CPU model in TCG 2017-03-03 19:57:57 +01:00
qemu_capspriv.h qemu: Make virQEMUCapsInitCPUModel testable 2017-03-03 19:57:57 +01:00
qemu_cgroup.c qemu_cgroup: Only try to allow devices if devices CGroup's available 2017-02-23 11:21:26 +01:00
qemu_cgroup.h
qemu_command.c doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_command.h qemu: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_conf.c qemu: Enforce qemuSecurity wrappers 2017-03-06 08:54:28 +01:00
qemu_conf.h qemu_conf: Check for namespaces availability more wisely 2017-02-15 12:43:23 +01:00
qemu_domain_address.c qemu: add missing break in qemuDomainDeviceCalculatePCIConnectFlags 2017-02-23 10:11:16 +00:00
qemu_domain_address.h
qemu_domain.c conf: store "autoGenerated" for graphics listen in status XML 2017-03-09 10:22:43 +01:00
qemu_domain.h doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_driver.c qemuDomainSaveImageUpdateDef: Don't overwrite errors from virDomainDefCheckABIStability 2017-03-08 10:09:15 +01:00
qemu_driver.h
qemu_hostdev.c
qemu_hostdev.h
qemu_hotplug.c qemu: Introduce qemuDomainGetTLSObjects 2017-03-08 14:31:10 -05:00
qemu_hotplug.h qemu: Introduce qemuDomainGetTLSObjects 2017-03-08 14:31:10 -05: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: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_interface.h qemu: propagate bridge MTU into qemu "host_mtu" option 2017-02-07 14:02:19 -05:00
qemu_migration.c qemu: Enforce qemuSecurity wrappers 2017-03-06 08:54:28 +01:00
qemu_migration.h qemu: Implement auto convergence migration parameters 2016-06-22 15:54:21 +02:00
qemu_monitor_json.c qemu: Use full CPU model expansion on x86 2017-03-03 19:57:57 +01:00
qemu_monitor_json.h qemu: Use enum for CPU model expansion type 2017-03-03 19:57:57 +01:00
qemu_monitor_text.c qemu: catch failure of drive_add 2017-01-19 10:56:53 +00:00
qemu_monitor_text.h
qemu_monitor.c doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_monitor.h qemu: Use full CPU model expansion on x86 2017-03-03 19:57:57 +01:00
qemu_parse_command.c doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_parse_command.h
qemu_process.c qemu_process: don't probe iothreads if it's not supported by QEMU 2017-03-08 12:09:54 +01:00
qemu_process.h
qemu_processpriv.h
qemu_security.c qemu_security: Introduce ImageLabel APIs 2017-02-09 08:04:57 +01:00
qemu_security.h qemu: Enforce qemuSecurity wrappers 2017-03-06 08:54:28 +01:00
qemu.conf doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
test_libvirtd_qemu.aug.in qemuDomainGetHostdevPath: Create /dev/vfio/vfio iff needed 2017-02-20 07:21:58 +01:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00