libvirt/src/security
Daniel Henrique Barboza db45fb49e8 qemu_tpm, security, tests: change 'switch' clauses for 'if'
This trivial rework is aimed to reduce the amount of line changes
made by the next patch, when 'def->tpm' will become a 'def->tpms'
array.

Instead of using a 'switch' where only the VIR_DOMAIN_TPM_TYPE_EMULATOR
label does something, use an 'if' clause instead.

Tested-by: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2020-06-23 17:27:50 +02:00
..
apparmor apparmor: avoid denials on libpmem initialization 2020-04-15 10:33:23 +02:00
Makefile.inc.am virhostdev: move to src/hypervisor 2020-02-24 16:47:21 +01:00
security_apparmor.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_apparmor.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_dac.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_dac.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_driver.c Use G_N_ELEMENTS instead of ARRAY_CARDINALITY 2019-10-15 16:14:19 +02:00
security_driver.h security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_manager.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_manager.h security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_nop.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_nop.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_selinux.c qemu_tpm, security, tests: change 'switch' clauses for 'if' 2020-06-23 17:27:50 +02:00
security_selinux.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_stack.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_stack.h src/security: use #pragma once in headers 2019-06-19 17:12:31 +02:00
security_util.c Drop needless variable 2020-05-05 11:19:34 +02:00
security_util.h security_util: Introduce virSecurityMoveRememberedLabel 2019-07-03 08:36:04 +02:00
virt-aa-helper.c qemu_tpm, security, tests: change 'switch' clauses for 'if' 2020-06-23 17:27:50 +02:00