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

2020-06-23 Thread Ján Tomko
On a Wednesday in 2020, 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

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

2020-06-10 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. Tested-by: Satheesh Rajendran