Re: [PATCH v7 05/10] conf, qemu, security, tests: introducing 'def->tpms' array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Wednesday in 2020, Daniel Henrique Barboza wrote:
A TPM Proxy device can coexist with a regular TPM, but the
current domain definition supports only a single TPM device
in the 'tpm' pointer. This patch replaces this existing pointer
in the domain definition to an array of TPM devices.

All files that references the old pointer were adapted to
handle the new array instead. virDomainDefParseXML() TPM related
code was adapted to handle the parsing of an extra TPM device.
TPM validations after this new scenario will be updated in
the next patch.

Tested-by: Satheesh Rajendran <sathnaga@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Stefan Berger <stefanb@xxxxxxxxxxxxx>
Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>
---
src/conf/domain_audit.c         |  4 +--
src/conf/domain_conf.c          | 50 +++++++++++++++++++------------
src/conf/domain_conf.h          |  6 +++-
src/qemu/qemu_alias.c           |  4 +--
src/qemu/qemu_cgroup.c          | 10 ++++---
src/qemu/qemu_command.c         | 34 ++++++++++++++-------
src/qemu/qemu_domain.c          | 31 +++++++++++++-------
src/qemu/qemu_domain_address.c  | 11 ++++---
src/qemu/qemu_extdevice.c       | 18 +++++++-----
src/qemu/qemu_tpm.c             | 52 +++++++++++++++++++++++++--------
src/security/security_dac.c     |  8 ++---
src/security/security_selinux.c | 32 ++++++++++++--------
src/security/virt-aa-helper.c   |  9 ++++--
tests/qemuxml2argvtest.c        | 13 +++++----
14 files changed, 186 insertions(+), 96 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux