Re: [PATCH v5 04/10] qemu_tpm, security, tests: change 'switch' clauses for 'if'

2020-05-27 Thread Stefan Berger
On 5/21/20 9:07 AM, Daniel Henrique Barboza wrote: 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'

[PATCH v5 04/10] qemu_tpm, security, tests: change 'switch' clauses for 'if'

2020-05-21 Thread Daniel Henrique Barboza
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. Signed-off-by: Daniel Henrique Barbo