Re: [libvirt RFCv7 22/40] qemu: saveimage: convert qemuSaveImageOpen to use virQEMUSaveFd

2022-05-07 Thread Claudio Fontana
On 5/6/22 3:11 PM, Claudio Fontana wrote: > all the logic to open a fd, create a wrapper etc, is boilerplate > code that is best reused, so change the Open function to take > an existing already initialized virQEMUSaveFd. > > Adapt all callers of qemuSaveImageOpen. > > Signed-off-by: Claudio Font

[libvirt RFCv7 22/40] qemu: saveimage: convert qemuSaveImageOpen to use virQEMUSaveFd

2022-05-06 Thread Claudio Fontana
all the logic to open a fd, create a wrapper etc, is boilerplate code that is best reused, so change the Open function to take an existing already initialized virQEMUSaveFd. Adapt all callers of qemuSaveImageOpen. Signed-off-by: Claudio Fontana --- src/qemu/qemu_driver.c| 100 ++