libvirt/src/qemu
John Ferlan 5c09486c1e qemu: Introduce qemuDomainPrepareDiskSource
Introduce a function to setup any TLS needs for a disk source.

If there's a configuration or other error setting up the disk source
for TLS, then cause the domain startup to fail.

For VxHS, follow the chardevTLS model where if the src->haveTLS hasn't
been configured, then take the system/global cfg->haveTLS setting for
the storage source *and* mark that we've done so via the tlsFromConfig
setting in storage source.

Next, if we are using TLS, then generate an alias into a virStorageSource
'tlsAlias' field that will be used to create the TLS object and added to
the disk object in order to link the two together for QEMU.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2017-09-28 09:45:14 -04:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug conf: Introduce TLS options for VxHS block device clients 2017-09-28 09:45:14 -04:00
MIGRATION.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00
qemu_agent.c Fix minor typos 2017-04-24 14:40:00 +02:00
qemu_agent.h
qemu_alias.c qemu: refactor qemuDomainMachine* functions 2017-04-18 13:27:11 +02:00
qemu_alias.h qemu: Rename qemuAliasTLSObjFromChardevAlias 2017-02-22 06:31:40 -05:00
qemu_block.c qemu: block: Use correct alias when extracting disk node names 2017-09-25 14:38:15 +02:00
qemu_block.h qemu: block: store and test driver names for detected storage nodes 2017-07-27 09:56:41 +02:00
qemu_blockjob.c qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_blockjob.h qemu: take current async job into account in qemuBlockNodeNamesDetect 2017-04-27 14:38:29 +02:00
qemu_capabilities.c qemu: capabilities: Remove support for downstream-only QMP monitor backport 2017-09-22 14:28:26 +02:00
qemu_capabilities.h qemu: Detect support for vxhs 2017-09-19 21:10:21 -04:00
qemu_capspriv.h qemu: privatize _virQEMUCapsCachePriv struct 2017-07-26 15:36:47 +02:00
qemu_cgroup.c qemu_cgroup: Remove unnecessary virQEMUDriverPtr arguments 2017-07-26 17:47:25 +02:00
qemu_cgroup.h qemu_cgroup: Remove unnecessary virQEMUDriverPtr arguments 2017-07-26 17:47:25 +02:00
qemu_command.c qemuBuildHostNetStr: Don't leak @addr 2017-09-21 16:07:09 +02:00
qemu_command.h qemu: Allow qemuBuildControllerDevStr() to return NULL 2017-07-15 14:50:42 +02:00
qemu_conf.c conf: Introduce TLS options for VxHS block device clients 2017-09-28 09:45:14 -04:00
qemu_conf.h conf: Introduce TLS options for VxHS block device clients 2017-09-28 09:45:14 -04:00
qemu_domain_address.c conf: domain: add VIDEO_TYPE_DEFAULT 2017-09-05 10:41:32 -04:00
qemu_domain_address.h qemu: Isolate hostdevs on pSeries guests 2017-07-18 09:00:13 +02:00
qemu_domain.c qemu: Introduce qemuDomainPrepareDiskSource 2017-09-28 09:45:14 -04:00
qemu_domain.h qemu: Introduce qemuDomainPrepareDiskSource 2017-09-28 09:45:14 -04:00
qemu_driver.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
qemu_driver.h
qemu_hostdev.c qemu: Fix mdev checking for VFIO support 2017-04-12 12:57:39 +02:00
qemu_hostdev.h hostdev: Maintain a driver list of active mediated devices 2017-03-27 15:39:35 +02:00
qemu_hotplug.c qemu: hotplug: Ignore cgroup errors when hot-unplugging vcpus 2017-09-27 08:51:45 +02:00
qemu_hotplug.h qemu: hotplug: Unexport qemuDomainHotplugDelVcpu 2017-04-20 10:46:44 +02:00
qemu_hotplugpriv.h
qemu_interface.c Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_interface.h Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" 2017-05-22 12:57:34 -04:00
qemu_migration_cookie.c cpu_conf: Drop updateCPU from virCPUDefFormat 2017-09-21 15:23:39 +02:00
qemu_migration_cookie.h qemu: Send updated CPU in migration cookie 2017-06-07 13:36:02 +02:00
qemu_migration.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
qemu_migration.h qemu: migrate: add mirror stats to migration stats 2017-09-07 11:18:10 +02:00
qemu_monitor_json.c qemu: fix hotplug of udp device with no connect host 2017-09-27 12:38:27 +02:00
qemu_monitor_json.h qemu: monitor: Remove support for "legacy" block jobs 2017-09-14 10:03:38 +02:00
qemu_monitor_text.c qemuMonitorTextAddDrive: Fail on unrecognized disk format 2017-06-25 16:22:40 +02:00
qemu_monitor_text.h qemu: monitor: Return struct from qemuMonitor(Text|Json)QueryCPUs 2016-08-24 15:44:47 -04:00
qemu_monitor.c Print hex values with '0x' prefix and octal with '0' in debug messages 2017-09-25 13:34:53 +01:00
qemu_monitor.h qemu: monitor: Remove support for "legacy" block jobs 2017-09-14 10:03:38 +02:00
qemu_parse_command.c util: Move virSecretUsageType to virsecret.h 2017-09-21 15:46:48 -04:00
qemu_parse_command.h
qemu_process.c qemu: Introduce qemuDomainPrepareDiskSource 2017-09-28 09:45:14 -04:00
qemu_process.h qemuDomainAttachMemory: Crate hugepage dir if needed 2017-06-13 16:39:39 +02:00
qemu_processpriv.h
qemu_security.c security: don't relabel chardev source if virtlogd is used as stdio handler 2017-06-16 16:00:10 +02:00
qemu_security.h qemu_hotplug: Relabel memdev 2017-03-15 16:55:23 +01:00
qemu.conf conf: Introduce TLS options for VxHS block device clients 2017-09-28 09:45:14 -04:00
test_libvirtd_qemu.aug.in conf: Introduce TLS options for VxHS block device clients 2017-09-28 09:45:14 -04:00
THREADS.txt doc: fix writing of QEMU 2017-03-08 17:33:07 +01:00