* Add support for Windows 2025 (thanks Ming Xie).
* Add support for TencentOS (Denise Cheng).
* Inspection of Ubuntu 22+ guests that use a split /usr
configuration now works properly (thanks Jaroslav Spanko,
Daniel Berrange).
* Inspecting guests that have duplicated root mountpoints now
works.
* Inspection of SUSE Linux guests using btrfs snapshots now
ignores snapshots that mirror content in the root filesystem
(thanks Ming Xie).
* Inspection of SUSE Linux >= 15 now returns the correct osinfo
short name (eg. "sle15") (thanks Ming Xie).
* New command_out and sh_out APIs which allow you to capture
output from guest commands that generate more output than the
protocol limit allows.
* New btrfs_scrub_full API which runs a full Btrfs scrub,
synchronously. It works more like fsck for other filesystems.
* The fstrim API has been modified to work around several issues
in upstream and RHEL 9 kernels related to XFS support (Eric
Sandeen, Dave Chinner).
* The existing e2fsck API has a new FORCENO option enabling use
of the command line -n flag.
* json-c is now required. This replaces Jansson which was
previously used for parsing JSON input files.
* OCaml ≥ 4.08 is now required.
* When using ./configure --disable-daemon we no longer require
augeas and hivex (thanks Mohamed Akram).
* zfs-fuse support has been dropped. The project is unmaintained
upstream (thanks Paul Bolle, Gwyn Ciesla, Timothée Ravier).
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=626
* lib/inspect-osinfo.c: Add Windows Server 2025 osinfo
* appliance: Use stable owner, group and mtime in appliance
tarballs
* mltools: Replace jansson with json-c
* lib/info.c: Replace jansson with json-c
* lib/qemu.c: Replace jansson with json-c
* lib: direct: Remove test for qemu mandatory locking
* Various language translations
* Fix dhcpcd failing on systemd-resolved stub
* mlcustomize: Add heuristic support for Windows Server 2025
* mlcustomize/customize_run.ml: Move 'in' to new line
* mlstdutils/guestfs_config: Define host_os
* mlcustomize, mltools: Check guest OS is compatible before
allowing --run
* generator: Remove common/mlv2v/uefi.ml{,i} files
* qemuopts: Add ability to add raw, unquoted output to qemu
scripts
* qemuopts: Fix missing break statement
* mlstdutils: Remove Option module
* Remove test for caml_alloc_initialized_string
* build: Move baseline OCaml to 4.08
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=593
* Add detection of Circle Linux (Bella Zhang).
* Add support for LoongArch (liuxiang).
* Add detection of Kylin (grass-lu).
* Add detection of openEuler (Wang Guoquan).
* PARTUUID and PARTLABEL are now resolved in guest /etc/fstab.
* New APIs findfs_partuuid and findfs_partlabel. These can be
used to efficiently look up a filesystem by its GPT partition
UUID or label.
* Support for the following inactive or infrequently used device
types has been removed: Gluster, Sheepdog, TFTP.
* Add GOST R34.11-94 message digest algorithm to checksum APIs
(Alexey Shabalin).
* Allow nbd+unix:// URIs (NBD over Unix domain socket) in
guestfish and other places.
* Various part_* (partition) APIs related to GPT have been
reimplemented to use util-linux sfdisk instead of sgdisk.
Util-linux is more widely available, so this reduces
dependencies in the common case. One optional API remains that
still uses sgdisk. (Thanks Yongkui Guo).
* Add cipher suboption to cryptsetup_open (Jonatan Pålsson).
* Because of a bug, the part_get_gpt_attributes API could
truncate the return value from 64 to 32 bits. This has been
fixed.
* Libguestfs will now no longer recommend using
LIBGUESTFS_BACKEND=direct. This was shown previously when
libvirt failed to start the appliance. However it is felt that
this now does more harm than good.
* Fix generation of virt-customize --chown parameter (Yongkui Guo)
* In the appliance, reduce boot time when dhcp isn't needed
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=589
* Various MacOS fixes and enhancements
* ocaml: INSTALL_OCAMLLIB Makefile parameter
* appliance/init: Don't set impossible "noop" disk scheduler
* Pull in some fixes from the common submodule.
mlcustomize: Add Inject_virtio_win.inject_blnsvr implementation
mlcustomize: firstboot: Use Linux path for Powershell script path
mlcustomize: firstboot: Use powershell.exe instead of path
mlcustomize: firstboot: Use Powershell -NoProfile flag
mlcustomize: Revert delay installation of qemu-ga MSI
mldrivers/linux_kernels.ml: Prefix general information with ^info:
mlcustomize: Use Start-Process -Wait to run qemu-ga installer
mlcustomize: Add Firstboot.firstboot_dir function
mlcustomize: Place powershell scripts into <firstboot_dir>\Temp
mlcustomize: Inject qemu-ga & blnsvr into <firstboot_dir>/Temp
mlcustomize: Write qemu-ga log file name to log.txt
mlcustomize: Add some comments to firstboot batch file
mlcustomize: Reboot Windows between each firstboot script
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=587
* generator/customize.ml: Split --chown parameter on ':' character
* daemon: Add gost checksum command support
* Add detection support for Circle Linux
* Add support for LoongArch.
* daemon: Fix file architecture translation for LoongArch
* options: Allow nbd+unix:// URIs
* daemon/parted: Assume sfdisk --part-type exists
* daemon: Reimplement partition GPT functions using sfdisk
* appliance: only wait for resolv.conf update if dhcpcd succeeded
* generator/customize.ml: Add virt-customize --inject-blnsvr operation
* lib: libvirt: Stop recommending LIBGUESTFS_BACKEND=direct
* daemon: cryptsetup_open: Add --cipher
* rust: Handle null pointer when creating slice
* Remove gluster support
* Remove sheepdog support
* Remove tftp drive support
* generator/daemon: Don't truncate 64 bit results from OCaml functions
* daemon: Fix parsing in part_get_gpt_attributes
* New APIs: findfs_partuuid and findfs_partlabel
* inspection: Resolve PARTUUID= and PARTLABEL= in /etc/fstab
* generator/actions_core.ml: Fix version field for new APIs
* Kylin is centos derivative
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=585
* There are no upstream release notes for verion 1.52.x
* Several python fixes
* Rework Std_utils.Option so it works like the OCaml stdlib module
* Update common submodule to latest
- Drop patches contained in new tarball
Split-chown-parameter-on-character.patch
Initialise-bar-fp-as-NULL.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=583
* The Python bindings now use bytes (instead of str) for the
event callback message, since it may contain arbitrary 8 bit
data
Fix a rare crash, and avoid memory leaks in event callbacks
* Support for OCaml 5, and OCaml ≥ 4.07 is now the minimum
* The OCaml bindings now release the runtime lock around calls
to guestfs_close, since that call might be long-running (for
example it might have to shut down the appliance and synch disks).
* Support OpencloudOS
* SELinux relabelling now runs in parallel, meaning it's a lot
quicker
* Add support for lzma and zstd compression methods in tar APIs
(like guestfs_tar_in)
* guestfs_pvs_full previously didn't always return the correct
device names. This has now been fixed.
* guestfs_btrfs_filesystem_balance fixed so it now works with
more modern btrfs tools (Jürgen Hötzel).
* The guestfish(1) --key option now recognizes LVM names like
/dev/mapper/rhel_bootp--73--75--123-root
* guestfish --key option also supports a new --key all:...
selector to try the same key on all devices.
* In guestmount(1) avoid calling fclose(NULL) on error paths,
which might have caused a crash on some platforms.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=557
* options: Allow --key all:SELECTOR to be used to match any
device. Rewrite --key documentation.
* mltools/libosinfo-c.c: Fix off-by-one error
* mldrivers: look for bootloader config in /boot/grub/grub.cfg in
case of UEFI
* daemon/btrfs: Use new syntax for balance command
* ocaml: Nullify custom block before releasing runtime lock
* ocaml: Use Gc.finalise instead of a C finalizer
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=556
* There are no upstream release notes for verion 1.51.x
* Dropped the virt-dib tool
* Add support for lzma and zstd compression methods.
* Add --chown option for virt-customize
* Add new virt-customize --tar-in operation
* Various bug fixes and language translations
- Drop patch contained in new tarball
Omit-file--S-option-on-older-distros-that-lack-support.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=551
* https://libguestfs.org/guestfs-release-notes-1.50.1.html
* Inspection
When listing the packages in RPM-based guests, the inspection
API no longer checks package signatures. This is because the
newer librpm used by libguestfs does not understand signatures
stored in older guests, such as SHA1 used by RHEL 6 (thanks
Panu Matilainen).
"guestfs_inspect_get_hostname" in guestfs(3) can now handle
/etc/hostname files containing comments (thanks Dawid Zamirski).
"guestfs_file_architecture" in guestfs(3) can now parse files
using zstd compression.
"guestfs_inspect_get_osinfo" in guestfs(3) now returns the
correct osinfo field for Windows 11. However because of
decisions made by Microsoft, these guests still return product
name and other strings identifying as Windows 10 (thanks Yaakov
Selkowitz, Yongkui Guo).
* New APIs
"guestfs_device_name" in guestfs(3) is a new API to read the
device name associated with a drive, for example calling this
with 0 will return /dev/sda.
"guestfs_clevis_luks_unlock" in guestfs(3) is a new API for
unlocking disks using the Clevis/Tang network-based full disk
encryption scheme. Furthermore implement this in guestfish and
guestmount (Laszlo Ersek).
"guestfs_inspect_get_build_id" in guestfs(3) is a new API for
reading the build ID from some Linux and Windows guests. It is
not widely used on Linux, but for Windows it is vital for
identifying Windows 11.
* Other API changes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=537