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
security_dac.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_dac.h
security_driver.c
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
security_selinux.c qemu_tpm, security, tests: change 'switch' clauses for 'if' 2020-06-23 17:27:50 +02:00
security_selinux.h
security_stack.c security: Rename virSecurityManagerRestoreSavedStateLabel() 2020-06-18 13:52:24 +02:00
security_stack.h
security_util.c Drop needless variable 2020-05-05 11:19:34 +02:00
security_util.h
virt-aa-helper.c qemu_tpm, security, tests: change 'switch' clauses for 'if' 2020-06-23 17:27:50 +02:00