libvirt/src/qemu
John Ferlan 47e88b33be util: Add 'usage' for encryption
In order to use more common code and set up for a future type, modify the
encryption secret to allow the "usage" attribute or the "uuid" attribute
to define the secret. The "usage" in the case of a volume secret would be
the path to the volume as dictated by the backwards compatibility brought
on by virStorageGenerateQcowEncryption where it set up the usage field as
the vol->target.path and didn't allow someone to provide it. This carries
into virSecretObjListFindByUsageLocked which takes the secret usage attribute
value from from the domain disk definition and compares it against the
usage type from the secret definition. Since none of the code dealing
with qcow/qcow2 encryption secrets uses usage for lookup, it's a mostly
cosmetic change. The real usage comes in a future path where the encryption
is expanded to be a luks volume and the secret will allow definition of
the usage field.

This code will make use of the virSecretLookup{Parse|Format}Secret common code.

Signed-off-by: John Ferlan <jferlan@redhat.com>
2016-07-01 15:46:24 -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: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_alias.h qemu: Utilize qemu secret objects for RBD auth/secret 2016-05-20 11:09:05 -04:00
qemu_blockjob.c
qemu_blockjob.h
qemu_capabilities.c qemu: Remove redundant parameter in virQEMUCapsFillDomainCaps 2016-07-01 12:20:54 +02:00
qemu_capabilities.h qemu: Remove redundant parameter in virQEMUCapsFillDomainCaps 2016-07-01 12:20:54 +02:00
qemu_capspriv.h qemu: Export caps cache APIs for tests 2016-05-06 10:27:32 +02:00
qemu_cgroup.c Revert "qemu_cgroup: allow access to /dev/dri for virtio-vga" 2016-05-23 10:48:27 +02:00
qemu_cgroup.h
qemu_command.c qemu: Drop emitBootindex parameter 2016-07-01 12:20:54 +02:00
qemu_command.h qemu: Make qemuBuildSecretInfoProps global 2016-06-24 13:04:38 -04:00
qemu_conf.c driver config: Introduce virFirmware object 2016-06-13 14:13:16 -06:00
qemu_conf.h driver config: Introduce virFirmware object 2016-06-13 14:13:16 -06: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 qemuDomainDeviceDefValidate: Drop unused qemuCaps 2016-06-28 13:33:05 +02:00
qemu_domain.h qemu: Introduce qemuDomainMachineIsPSeries() 2016-06-24 10:17:59 +02:00
qemu_driver.c qemu: Remove redundant parameter in virQEMUCapsFillDomainCaps 2016-07-01 12:20:54 +02:00
qemu_driver.h
qemu_hostdev.c Use virDirOpenQuiet 2016-06-24 14:20:57 +02:00
qemu_hostdev.h
qemu_hotplug.c qemu: Avoid needless copies of static strings 2016-07-01 12:20:54 +02: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 Revert "qemu: support setting host-side IP addresses/routes" 2016-06-27 12:54:55 +02:00
qemu_interface.h
qemu_migration.c qemu: Use proper async job to refresh virtio channels 2016-06-30 09:41:39 +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 qemu: Introduce qemuDomainMachineIsPSeries() 2016-06-24 10:17:59 +02:00
qemu_parse_command.h
qemu_process.c util: Add 'usage' for encryption 2016-07-01 15:46:24 -04: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