[PATCH v2 0/5] More reset nvram fixes

Michal Privoznik mprivozn at redhat.com
Fri Feb 11 12:30:24 UTC 2022


v2 of:

https://listman.redhat.com/archives/libvir-list/2022-February/msg00330.html

I've pushed patches 1/5 and 2/5 from the original patchset because they
were independent.

diff to v1:
- Reworked virFileRewrite() so that it's callback's responsibility to
  report error,
- More trivial cleanups (VIR_AUTOCLOSE, drop 'cleanup' label)

Michal Prívozník (5):
  virFileRewrite: Allow setting owner
  virFileRewrite: Move error reporting into callback
  qemuPrepareNVRAM: Us virFileRewrite() to write NVRAM
  qemuPrepareNVRAM: Switch to VIR_AUTOCLOSE
  qemuPrepareNVRAM: Drop cleanup label

 src/qemu/qemu_process.c | 124 ++++++++++++++++------------------------
 src/util/virfile.c      |  44 +++++++++++---
 src/util/virfile.h      |   5 +-
 src/util/virxml.c       |  22 +++++--
 4 files changed, 104 insertions(+), 91 deletions(-)

-- 
2.34.1




More information about the libvir-list mailing list