Re: [libvirt RFCv7 34/40] qemu: saveimage: add multifd-compression field to save format

2022-05-06 Thread Claudio Fontana
On 5/6/22 4:32 PM, Claudio Fontana wrote: > One thing I was thinking about, beyond what is in this patch, > > is that for the QEMU driver we could save the number of channels used for the > --parallel save in the qemu SaveImage header as well. > > This way, on restore libvirt would automatically

Re: [libvirt RFCv7 34/40] qemu: saveimage: add multifd-compression field to save format

2022-05-06 Thread Claudio Fontana
One thing I was thinking about, beyond what is in this patch, is that for the QEMU driver we could save the number of channels used for the --parallel save in the qemu SaveImage header as well. This way, on restore libvirt would automatically know how many file it needs to load, and the user do

[libvirt RFCv7 34/40] qemu: saveimage: add multifd-compression field to save format

2022-05-06 Thread Claudio Fontana
Signed-off-by: Claudio Fontana --- src/qemu/qemu_saveimage.c | 19 ++- src/qemu/qemu_saveimage.h | 5 +++-- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/src/qemu/qemu_saveimage.c b/src/qemu/qemu_saveimage.c index 35a75069e8..c0920c5baa 100644 --- a/src/qemu/qem