Re: [PATCH v2 0/2] qemu: tpm: Improve TPM state files management

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

 



On 10/4/22 15:38, Stefan Berger wrote:
> This series of patches adds the --keep-tpm and --tpm flags to virsh for
> keeping and removing the TPM state directory structure when a VM is
> undefined. It also fixes the removal of state when a VM is migrated so
> that the state files are removed on the source upon successful
> migration and deleted on the destination after migration failure.
> 
> Regards,
>    Stefan
> 
> v2:
>   - addressed Michal's comments on v1
> 
> Stefan Berger (2):
>   qemu: Add UNDEFINE_TPM and UNDEFINE_KEEP_TPM flags
>   qemu: tpm: Remove TPM state after successful migration
> 
>  docs/manpages/virsh.rst          |  6 ++++++
>  include/libvirt/libvirt-domain.h |  4 ++++
>  src/qemu/qemu_domain.c           | 12 +++++++-----
>  src/qemu/qemu_domain.h           |  3 ++-
>  src/qemu/qemu_driver.c           | 31 ++++++++++++++++++++-----------
>  src/qemu/qemu_extdevice.c        |  5 +++--
>  src/qemu/qemu_extdevice.h        |  3 ++-
>  src/qemu/qemu_migration.c        | 13 +++++++------
>  src/qemu/qemu_process.c          |  4 ++--
>  src/qemu/qemu_snapshot.c         |  4 ++--
>  src/qemu/qemu_tpm.c              | 18 ++++++++++++++----
>  src/qemu/qemu_tpm.h              |  3 ++-
>  tools/virsh-domain.c             | 15 +++++++++++++++
>  13 files changed, 86 insertions(+), 35 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

and pushed.

Michal




[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