libvirt/src/qemu
John Ferlan da86c6c226 qemu: Add luks support for domain disk
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1301021

Generate the luks command line using the AES secret key to encrypt the
luks secret. A luks secret object will be in addition to a an AES secret.

For hotplug, check if the encinfo exists and if so, add the AES secret
for the passphrase for the secret object used to decrypt the device.

Modify/augment the fakeSecret* in qemuxml2argvtest in order to handle
find a uuid or a volume usage with a specific path prefix in the XML
(corresponds to the already generated XML tests). Add error message
when the 'usageID' is not 'mycluster_myname'. Commit id '1d632c39'
altered the error message generation to rely on the errors from the
secret_driver (or it's faked replacement).

Add the .args output for adding the LUKS disk to the domain

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-07-19 09:40:10 -04:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug spice: introduce spice_auto_unix_socket config option 2016-06-09 14:43:39 +02:00
MIGRATION.txt
qemu_agent.c qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemu_agent.h qemu: agent: Make setting of vcpus more robust 2016-06-22 09:26:08 +02:00
qemu_alias.c qemu: Alter the qemuDomainGetSecretAESAlias to add new arg 2016-07-19 09:40:10 -04:00
qemu_alias.h qemu: Alter the qemuDomainGetSecretAESAlias to add new arg 2016-07-19 09:40:10 -04:00
qemu_blockjob.c conf: add caps to virDomainObjFormat/SaveStatus 2016-02-05 10:57:08 +00:00
qemu_blockjob.h qemu: Use domain condition for synchronous block jobs 2015-06-19 15:15:10 +02:00
qemu_capabilities.c Add QEMU_CAPS_DEVICE_INTEL_IOMMU 2016-07-12 12:36:13 +02:00
qemu_capabilities.h Add QEMU_CAPS_DEVICE_INTEL_IOMMU 2016-07-12 12:36:13 +02:00
qemu_capspriv.h qemu: Export caps cache APIs for tests 2016-05-06 10:27:32 +02:00
qemu_cgroup.c conf: Rename virDomainVcpuInfoPtr to virDomainVcpuDefPtr 2016-07-11 09:06:09 +02:00
qemu_cgroup.h Implement qemuSetupGlobalCpuCgroup 2016-03-01 14:30:11 +00:00
qemu_command.c qemu: Add luks support for domain disk 2016-07-19 09:40:10 -04:00
qemu_command.h qemu: Make qemuBuildSecretInfoProps global 2016-06-24 13:04:38 -04:00
qemu_conf.c qemu: convert to typesafe virConf accessors 2016-07-12 09:57:15 +01:00
qemu_conf.h qemu: convert to typesafe virConf accessors 2016-07-12 09:57:15 +01:00
qemu_domain_address.c qemu: Introduce qemuDomainMachineIsPSeries() 2016-06-24 10:17:59 +02:00
qemu_domain_address.h Add newDomain parameter to qemuDomainAssignAddresses 2016-06-23 07:45:31 +02:00
qemu_domain.c qemu: Add luks support for domain disk 2016-07-19 09:40:10 -04:00
qemu_domain.h qemu: Store vCPU thread ids in vcpu private data objects 2016-07-11 10:44:09 +02:00
qemu_driver.c qemu: getAutoDumpPath() return value should be dumpfile not domname. 2016-07-13 07:05:21 +02:00
qemu_driver.h
qemu_hostdev.c Use virDirOpenQuiet 2016-06-24 14:20:57 +02:00
qemu_hostdev.h qemu: hostdev: Introduce qemuHostdevUpdateActiveDomainDevices() 2015-10-26 13:50:35 +01:00
qemu_hotplug.c qemu: Add luks support for domain disk 2016-07-19 09:40:10 -04:00
qemu_hotplug.h qemu: Move and rename qemuDomainCheckEjectableMedia to qemuProcessRefreshDisks 2016-05-25 10:15:54 +02:00
qemu_hotplugpriv.h
qemu_interface.c qemu: support setting host-side IP addresses/routes 2016-07-01 21:13:31 -04:00
qemu_interface.h autocreate tap device for ethernet network type 2016-03-23 11:37:59 +00:00
qemu_migration.c qemu: Fix migration from old libvirt 2016-07-18 17:38:03 +02:00
qemu_migration.h qemu: Implement auto convergence migration parameters 2016-06-22 15:54:21 +02:00
qemu_monitor_json.c Report auto convergence throttle rate in migration stats 2016-06-22 15:54:21 +02:00
qemu_monitor_json.h qemu: Rename qemuMonitorMigrationCompression 2016-06-22 15:54:21 +02:00
qemu_monitor_text.c qemuMonitorTextGetAllBlockStatsInfo: Fix line validation 2016-05-31 13:06:55 +02:00
qemu_monitor_text.h Remove qemuProcessInitPCIAddresses with dependencies 2016-05-20 07:43:39 +02:00
qemu_monitor.c qemu: Add support for cpu throttling parameters 2016-06-22 15:54:21 +02:00
qemu_monitor.h Report auto convergence throttle rate in migration stats 2016-06-22 15:54:21 +02:00
qemu_parse_command.c conf: Add private data for virDomainVcpuDef 2016-07-11 10:44:04 +02:00
qemu_parse_command.h qemu: parse: rename qemuCaps->caps 2016-02-19 09:45:23 -05:00
qemu_process.c qemu: Use qemuProcessSetupPid() in qemuProcessSetupVcpu() 2016-07-11 11:39:55 +02:00
qemu_process.h qemu: Use proper async job to refresh virtio channels 2016-06-30 09:41:39 +02:00
qemu_processpriv.h
qemu.conf spice: introduce spice_auto_unix_socket config option 2016-06-09 14:43:39 +02:00
test_libvirtd_qemu.aug.in spice: introduce spice_auto_unix_socket config option 2016-06-09 14:43:39 +02:00
THREADS.txt There is no virDomainFindBy{ID, Name, UUID} anymore 2015-08-03 13:08:00 +02:00