Re: [PATCH V2 2/4] qemu: Don't ignore dump image format errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 20, 2025 at 05:11:36PM -0700, Jim Fehlig via Devel wrote:
> Long ago, without justification, commit 48cb9f0542 changed
> qemuGetCompressionProgram (since renamed to
> qemuSaveImageGetCompressionProgram) to ignore configuration errors
> for dump operations. Like the other save-related operations, user
> provided configuration should be verified and an error reported if
> it cannot be honored.
> 
> Remove the special handling of configuration errors in
> qemuSaveImageGetCompressionProgram and change the dump logic to
> fail when dump image format cannot be supported.
> 
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
>  src/qemu/qemu_driver.c    | 19 ++++--------
>  src/qemu/qemu_saveimage.c | 61 ++++++++++-----------------------------
>  src/qemu/qemu_saveimage.h |  3 +-
>  src/qemu/qemu_snapshot.c  |  2 +-
>  4 files changed, 24 insertions(+), 61 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux