[PATCH 0/3] qemu: Small cleanups to SaveImageGetCompressionProgram and callers

Jim Fehlig via Devel posted 3 patches 10 months, 1 week ago
Failed in applying to current master (apply log)
src/qemu/qemu_driver.c    | 52 ++++++++++++++--------
src/qemu/qemu_saveimage.c | 92 +++++++--------------------------------
src/qemu/qemu_saveimage.h | 24 ++++++++--
src/qemu/qemu_snapshot.c  | 11 +++--
4 files changed, 78 insertions(+), 101 deletions(-)
[PATCH 0/3] qemu: Small cleanups to SaveImageGetCompressionProgram and callers
Posted by Jim Fehlig via Devel 10 months, 1 week ago
Even though my work on supporting mapped-ram is the main motivation for
this small cleanup series, IMO is useful in its own right.

Jim Fehlig (3):
  qemu: Move declaration of virQEMUSaveFormat to header file
  qemu: Move special handling of invalid dump format to only caller
  qemu: Change return value of SaveImageGetCompressionProgram

 src/qemu/qemu_driver.c    | 52 ++++++++++++++--------
 src/qemu/qemu_saveimage.c | 92 +++++++--------------------------------
 src/qemu/qemu_saveimage.h | 24 ++++++++--
 src/qemu/qemu_snapshot.c  | 11 +++--
 4 files changed, 78 insertions(+), 101 deletions(-)

-- 
2.43.0
Re: [PATCH 0/3] qemu: Small cleanups to SaveImageGetCompressionProgram and callers
Posted by Jim Fehlig via Devel 10 months, 1 week ago
On 2/14/25 15:48, Jim Fehlig wrote:
> Even though my work on supporting mapped-ram is the main motivation for
> this small cleanup series, IMO is useful in its own right.

Here's an example of that usefulness

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/ISSWUH6FM4IMWG5HLUMIKCYRJC2XTAZM/

Regards,
Jim

> 
> Jim Fehlig (3):
>    qemu: Move declaration of virQEMUSaveFormat to header file
>    qemu: Move special handling of invalid dump format to only caller
>    qemu: Change return value of SaveImageGetCompressionProgram
> 
>   src/qemu/qemu_driver.c    | 52 ++++++++++++++--------
>   src/qemu/qemu_saveimage.c | 92 +++++++--------------------------------
>   src/qemu/qemu_saveimage.h | 24 ++++++++--
>   src/qemu/qemu_snapshot.c  | 11 +++--
>   4 files changed, 78 insertions(+), 101 deletions(-)
>