[PATCH v3 0/3] qemu_tpm: Get swtpm pid without binary validation

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

 



[v1] https://listman.redhat.com/archives/libvir-list/2022-January/msg00008.html
[v2] https://listman.redhat.com/archives/libvir-list/2022-January/msg00582.html

As suggesed in the review comments:
- dropped virFileGetLockOwner;
- simplified lock validation by using VIR_AUTOCLOSE and just trying to
lock the file;
- introduced virPidFileReadPathIfLocked to preserve the existing
behaviour of virPidFileReadPathIfAlive.

Vasiliy Ulyanov (3):
  virpidfile: Add virPidFileReadPathIfLocked func
  qemu: tpm: Get swtpm pid without binary validation
  qemu: gpu: Get pid without binary validation

 src/libvirt_private.syms       |  1 +
 src/qemu/qemu_tpm.c            | 40 +++++++++++++++++++++-------------
 src/qemu/qemu_vhost_user_gpu.c | 11 +++++-----
 src/util/virpidfile.c          | 34 +++++++++++++++++++++++++++++
 src/util/virpidfile.h          |  2 ++
 5 files changed, 67 insertions(+), 21 deletions(-)

-- 
2.34.1





[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