Re: [PATCH 5/5] qemuPrepareNVRAM: Us virFileRewrite() to write NVRAM

2022-02-11 Thread Michal Prívozník
On 2/10/22 17:16, Daniel P. Berrangé wrote: > On Thu, Feb 10, 2022 at 12:13:26PM +0100, Michal Privoznik wrote: >> After previous commits there is no need for qemuPrepareNVRAM() to >> open code virFileRewrite(). Deduplicate the code by calling the >> function. >> >> Signed-off-by: Michal Privoznik

Re: [PATCH 5/5] qemuPrepareNVRAM: Us virFileRewrite() to write NVRAM

2022-02-10 Thread Daniel P . Berrangé
On Thu, Feb 10, 2022 at 12:13:26PM +0100, Michal Privoznik wrote: > After previous commits there is no need for qemuPrepareNVRAM() to > open code virFileRewrite(). Deduplicate the code by calling the > function. > > Signed-off-by: Michal Privoznik > --- > src/qemu/qemu_process.c | 118 ++

[PATCH 5/5] qemuPrepareNVRAM: Us virFileRewrite() to write NVRAM

2022-02-10 Thread Michal Privoznik
After previous commits there is no need for qemuPrepareNVRAM() to open code virFileRewrite(). Deduplicate the code by calling the function. Signed-off-by: Michal Privoznik --- src/qemu/qemu_process.c | 118 +--- 1 file changed, 39 insertions(+), 79 deletions(-