* 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
* 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
- Drop requirement for icoutils in SLE as this package is not
available.
libguestfs.spec
- jsc#PED-2113 [Virt Tools] Refresh Virtualization Tools for Xen
and KVM Management
- bsc#1201064 - Libguestfs: Buffer overflow in get_keys leads
to DOS - CVE-2022-2211
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=528
* New libguestfs.spec file.
* Moved guestfs-tools to a new and separate project and package
* Renamed packages
guestfs-winsupport -> libguestfs-winsupport
guestfsd -> libguestfsd
* New packages
libguestfs, libguestfs-typelib-Guestfs,
libguestfs-gobject, libguestfs-gobject-devel
libguestfs-rescue, libguestfs-rsync, libguestfs-xfs
* Dropped package libguestfs-test
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=508
* Fix allocation and deallocation of string lists in golang
bindings (Laszlo Ersek).
* Multiple fixes to the OCaml bindings:
* Add support for Kylin (Laszlo Ersek).
* Add support for Rocky Linux (Neil Hanlon).
* Inspection of guests which use LUKS encryption on top of LVM
logical volumes should now work (Laszlo Ersek).
* "guestfs_list_9p" and "guestfs_mount_9p" are deprecated and
now return errors.
* "guestfs_remove_drive" has been deprecated and now returns an
error.
* "guestfs_add_drive" no longer supports hotplugging
* In "guestfs_xfs_admin" the "lazycounter" parameter is deprecated
because it is no longer supported in recent versions of XFS.
* The User-mode Linux ("uml") backend has been removed.
* Partition APIs now cope with the broken MBR partition tables
created by dosfstools ≥ 4.2 (Laszlo Ersek).
* Various bug fixes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=495
* This release has moved many virt tools like virt-builder,
virt-cat, virt-customize, virt-df, etc. to the guestfs-tools
project. This makes libguestfs a bit easier to build and manage.
* The build now uses and requires PCRE2 (instead of PCRE).
* This version requires libvirt ≥ 7.1.0, if libvirt is enabled.
* gnulib is no longer bundled with libguestfs, making builds from
git much simpler.
* Perl Sys::Virt (libvirt bindings for Perl) are no longer
required by libguestfs.
* The code has been compiled with both LTO and GCC -fanalyzer and
many bugs and warnings fixed.
* Various fixes for qemu 6.1.
* Update appliance packages on SUSE and several other improvements
to the init script (Olaf Hering).
* We now use the qemu / libvirt feature -cpu max to select the
best CPU to run the appliance.
* When passing the appliance filesystem UUID to supermin we now
read it directly out of the appliance instead of using the
file(1) program. This is more reliable.
* The qemu -enable-fips option is no longer used. It was not
needed and has been deprecated by qemu.
* We no longer use qemu's sga (Serial Graphics Adapter) option
ROM, instead using the equivalent seabios feature.
* Various bug fixes
- Dropped scripts and patches
Pod-Simple-3.23.tar.xz
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
libguestfs.test.simple.create-opensuse-guest.sh
libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=494
* This release has moved many virt tools like virt-builder,
virt-cat, virt-customize, virt-df, etc. to the guestfs-tools
project. This makes libguestfs a bit easier to build and manage.
* The build now uses and requires PCRE2 (instead of PCRE).
* This version requires libvirt ≥ 7.1.0, if libvirt is enabled.
* gnulib is no longer bundled with libguestfs, making builds from
git much simpler.
* Perl Sys::Virt (libvirt bindings for Perl) are no longer
required by libguestfs.
* The code has been compiled with both LTO and GCC -fanalyzer and
many bugs and warnings fixed.
* Various fixes for qemu 6.1.
* Update appliance packages on SUSE and several other improvements
to the init script (Olaf Hering).
* We now use the qemu / libvirt feature -cpu max to select the
best CPU to run the appliance.
* When passing the appliance filesystem UUID to supermin we now
read it directly out of the appliance instead of using the
file(1) program. This is more reliable.
* The qemu -enable-fips option is no longer used. It was not
needed and has been deprecated by qemu.
* We no longer use qemu's sga (Serial Graphics Adapter) option
ROM, instead using the equivalent seabios feature.
* Various bug fixes
- Dropped scripts and patches
Pod-Simple-3.23.tar.xz
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
libguestfs.test.simple.create-opensuse-guest.sh
libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=489
* Alert ocaml_deprecated_cli: Setting a warning with a sequence
of lowercase or uppercase letters, like 'CDEFLMPSUVYZX', is
deprecated.
63c9cd93-m4-guestfs-ocaml.m4-Fix-deprecated-warning-format.patch
* Error (warning 6 [labels-omitted]): label verbose was omitted
in the application of this function.
a4930f5f-customize-Suppress-OCaml-warning.patch
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=486
libguestfs.test.simple.create-opensuse-guest-crypt-on-lvm.sh
libguestfs.test.simple.create-opensuse-guest.sh
libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
libguestfs.test.simple.create-sles12-guest.sh
- Allow the use busybox dhcp client
appliance.patch
netconfig.patch
- Update to version 1.44.2
makefile-ocaml-find-guestfs.patch
* Port libguestfs to use pcre2 instead of pcre
* inspection: More reliable detection of Linux split /usr configurations
* python: Relicense setup.py to LGPLv2+ (originally GPLv2+)
* lib: qemu: Don't use -enable-fips option.
* rust: Fix deprecated use of panic!(format!(...))
* point users to Libera Chat rather than FreeNode
* python: Don't leak fields when creating Python structs
* appliance: Add IBM850 iconv converter for syslinux
* launch: board model for RISC-V
* lib: Add osinfo information for Windows Server 2022 Datacenter
* lib: Autodetect backing format for qemu-img create -b
* appliance: Fix searching for shared libraries on usr-merged Debian systems
* appliance: Add mount package for Debian
* m4/guestfs-appliance.m4: Add support for Alma and Cloud Linux
* daemon/luks.c: Ignore bogus GCC -fanalyzer double-free warning
* daemon/xattr.c: Increase size of temporary buffer for %zu
* daemon/utils.c: Fix potential unbounded stack usage
* Various other bug fixes
- Upstream bug fixes post 1.44.2
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=480
* The minimum version of Python required is 3.6.
* Python bindings no longer use deprecated
"PyEval_ThreadsInitialized".
* Python bindings now include type hints (Sam Eiderman).
* Erlang bindings now use libei instead of liberl_interface
(Sergei Golovan).
* virt-get-kernel(1) can now find uncompressed kernels
(Pino Toscano).
* virt-sysprep(1) now regenerates the guest certificate store
when a certificate is removed from the guest (Pino Toscano).
* virt-sysprep(1) can now remove IPA enrollment files and
Kerberos keytabs
(Pino Toscano, Christian Heimes and François Cami).
* "cryptsetup-open" and "cryptsetup-close" replace "luks-open",
luks-open-ro and luks-close. The new APIs add support for
BitLocker encryption.
* "lvm-canonical-lv" no longer produces a noisy error message
when called with a non-LV parameter.
* Various other bug fixes
- Drop
bfd08867-golang-Fix-path-to-include-guestfs.h..patch
dbfab7d3-build-fix-includedir-in-uninstalled-libguestfs.pc.patch
- Drop is_opensuse references to remove differences between Leap
and SLES packaging
libguestfs.spec
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=463
* virt-v2v is moved out from libguestfs into its own package
* virt-p2v is moved out from libguestfs into its own package
* Add support for the Vala language
* Add support for the Rust language
* Reproducible builds
* Advanced Format disks (which use 4K sectors) can now be
processed by libguestfs. Use the new optional blocksize
parameter to guestfs_add_drive_opts, and the --blocksize option
added to several tools
* Windows CompactOS (NTFS file compression) is now supported.
* Advanced machine readable output in various virt tools now
supports JSON output, and writing logs to a numbered file
descriptor
* virt-filesystems tool now more accurately reports filesystem
total size, in the case where for example the filesystem does
not occupy the whole of its containing device
* Python ≥ 2.7 is required.
* Python bindings are now more extensively tested
* Python bindings should now work with Python ≥ 3.8.
* Multiple fixes to avoid crashes in the Python bindings
* OCaml bindings are compiled with -DCAML_NAME_SPACE to ensure no
non-caml_-namespaced symbols are used
* OCaml bindings should now work with OCaml 4.09 and 4.10.
* Fix compatibility with newer cgo for Go bindings
* Go API error handling is now more idiomatic
* Update documentation about how to handle boolean parameters in
Ruby bindings
* Libguestfs can now extract icons for Gentoo, newer SUSE and
OpenMandriva guests. Improved extraction of RHEL icons.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=452
- update to version 1.38.0:
* Virt-builder-repository is a new tool allowing end users to
create and update virt-builder repositories. (fate#318952)
* Virt-rescue has been substantially rewritten, implementing job
control, -m and -i options, escape keys, etc.
* Virt-builder planner has been improved so that faster and more
efficient build plans are chosen for complex cases, especially when
either the tmpdir or output is on networked storage.
* Virt-customize now sets a random /etc/machine-id for Linux guests, if
one is not already set.
* Virt-df now works correctly on filesystems with block sizes smaller
than 1K.
* Virt-dib has further compatibility enhancements with diskimage-builder.
* Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files.
* Virt-resize now correctly copies GPT partition attributes from the
source to the destination. (bsc#1074585)
* Bash tab completion implemented or enhanced for: virt-win-reg,
virt-v2v-copy-to-local.
* Both virt-v2v and virt-p2v are now able to pass through the source CPU
vendor, model and topology.
* Virt-v2v now supports encrypted guests.
* Virt-v2v now detects the special Linux Xen PV-only kernels correctly
* Virt-v2v -o glance now generates the right properties for UEFI guests
* Virt-v2v -o null now avoids spooling the guest to a temporary file,
instead it writes to the qemu "null block device". This makes it
faster and use almost no disk space.
* Virt-v2v -i libvirtxml can now open network disks over http or https.
* Virt-v2v will now give a warning about host passthrough devices
* Inspection support was rewritten in OCaml and included inside the
daemon. This makes inspection considerably faster, more robust and
OBS-URL: https://build.opensuse.org/request/show/575411
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=59
- update to version 1.38.0:
* Virt-builder-repository is a new tool allowing end users to
create and update virt-builder repositories. (fate#318952)
* Virt-rescue has been substantially rewritten, implementing job
control, -m and -i options, escape keys, etc.
* Virt-builder planner has been improved so that faster and more
efficient build plans are chosen for complex cases, especially when
either the tmpdir or output is on networked storage.
* Virt-customize now sets a random /etc/machine-id for Linux guests, if
one is not already set.
* Virt-df now works correctly on filesystems with block sizes smaller
than 1K.
* Virt-dib has further compatibility enhancements with diskimage-builder.
* Virt-sysprep removes "DHCP_HOSTNAME" from ifcfg-* files.
* Virt-resize now correctly copies GPT partition attributes from the
source to the destination. (bsc#1074585)
* Bash tab completion implemented or enhanced for: virt-win-reg,
virt-v2v-copy-to-local.
* Both virt-v2v and virt-p2v are now able to pass through the source CPU
vendor, model and topology.
* Virt-v2v now supports encrypted guests.
* Virt-v2v now detects the special Linux Xen PV-only kernels correctly
* Virt-v2v -o glance now generates the right properties for UEFI guests
* Virt-v2v -o null now avoids spooling the guest to a temporary file,
instead it writes to the qemu "null block device". This makes it
faster and use almost no disk space.
* Virt-v2v -i libvirtxml can now open network disks over http or https.
* Virt-v2v will now give a warning about host passthrough devices
* Inspection support was rewritten in OCaml and included inside the
daemon. This makes inspection considerably faster, more robust and
more easily extensible in future.
* The libguestfs API is now thread-safe (although not parallel). You can
call APIs on the same handle from multiple threads without needing to
take a lock.
- Removed patches:
531316cc-build-improve-and-simplify-distro-detection.patch
9d25b4e5-python-add-simple-wrappers-for-PyObject-string-funct.patch
f3f99a09-python-use-right-func-when-PyString_FromStringAndSiz.patch
- Added patches:
d0e5a819-python-Fix-missing-additional-backslashes.patch
OBS-URL: https://build.opensuse.org/request/show/574839
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=421
* btrfs_replace: fix position of subcommand options
* lib: Move close_file_descriptors into guestfs-internal.h.
* daemon: lvm: Pass --yes option to force pvresize (RHBZ#1460577).
* lib: direct, uml: Unblock SIGTERM in the hypervisor and recovery processes (RHBZ#1460338).
* lib: create: Allow any [[:alnum:]]+ string as a backingfmt parameter (RHBZ#1459979).
* mllib: Handle empty files correctly in read_first_line_from_file.
* resize: make sure the input disk is read-only
* v2v: tell v2v the real root device to mkinitrd
* mllib: Export which in "stdlib mode".
* mllib: Export prog, quiet, trace, verbose in "stdlib mode".
* btrfs_replace: fix position of subcommand options
- drop 0000-hotfix.patch
- add download location for source verification purposes
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=395
- Force feature usb into initrd to avoid build-compare noise
- Workaround bug in patch(1) which does not follow symlinks anymore
- Update to version 1.26.10
* gcc5: test-tool: Initialize local variable.
* lua: Define luaL_checkint which was deprecated in lua 5.3.
* tools: fix free -m invocation
- Make zypper called with -n parameter when installing packages.
(bsc#916567)
- Package guestfs_lvm_conf.aug (bnc#908632)
- Handle more dist versions when patching mkinitrd
- Add isofs and other fs drivers (bnc#906692)
- Use fixed /etc/hosts, scsi_dh_modules and ibft_hostname to
reduce build-compare noise
OBS-URL: https://build.opensuse.org/request/show/308082
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=32
* mllib: Export output_spaces function.
* daemon: Fix echo-daemon so it doesn't fail on empty array input.
* drives: fix deletion of servers on error
* daemon: zfile: call pclose instead of fclose
* utils: Add new CLEANUP_PCLOSE cleanup. It calls pclose(3).
* launch: direct: Only issue Debian /dev/kvm group warning if /dev/kvm wasn't openable (RHBZ#1130189).
* lib: Missing include of <locale.h>.
* python: fix possible free on uninit memory with OStringList optargs
* df: unlock retire_mutex on early exit
* daemon: use CLEANUP_CLOSE
* daemon: blkid: fix memory issues in "no -p/-i" mode
* daemon: initialize memory when handling DeviceList params
* rescue: fix sscanf placeholders for --smp and --memsize
* daemon: add and use a reply_with_unavailable_feature macro
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=316
* launch: Close file descriptors after fork (RHBZ#1123007).
* Revert "launch: Close file descriptors after fork (RHBZ#1123007)."
* launch: direct: check for null paths in make_uri
* make-fs: do not leak the fd from mkstemp
* make-fs: respect libguestfs' temporary dir
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=313
- Update to version 1.26.6
* cleanups: add CLEANUP_FCLOSE (fclose on FILE*)
* launch: Close file descriptors after fork (RHBZ#1123007).
* virt-resize: Unmount filesystem after testing size.
* daemon: Add extra debugging to umount_all command.
* sparsify: Relax requirement that output device cannot be block device (RHBZ#1122557).
* ocaml: Ignore Warning 3: deprecated feature: String.* functions.
* sysprep: Standard exception handling, taken from virt-builder & virt-v2v.
* customize: Use Common_utils.error function instead of failwith.
* mllib: introduce Mkdtemp.temp_dir
* inspect: ignore /etc/fstab with no entries (RHBZ#1113156).
OBS-URL: https://build.opensuse.org/request/show/242704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=26
- Update requirements for kvm package. Instead of calling qemu-kvm
and Requires: kvm, replace the Requires with /usr/bin/qemu-system-$ARCH
Define the helper for aarch64, ppc64, s390x and x86_64.
Other archs have to use LIBGUESTFS_HV= (bnc#884564)
- Update to version 1.26.5
* generator: Sort the structs.
* Use -v and -x flags consistently across OCaml virt-* tools.
* mllib: Rewrite text wrapping function so it can handle newlines within the text.
* mllib: Add a common 'warning' utility function.
* mllib: Add an interface for Common_utils library.
* mllib: Move common code for comparing version strings to library.
* options: Compile out part of union which cannot be used when not compiling guestfish.
* mllib: Create a common utility function is_directory.
* fuse: UID 0 should override all permissions checks (RHBZ#1106548).
* launch: libvirt: Only use serial BIOS (sgabios) on x86.
* daemon: print parameters for vgchange in error messages
* generator: fix daemon functions with optional params but no mandatory params
* appliance: Increase udev timeout to 6000s (RHBZ#1096579).
* launch: libvirt: Add -device sga (sgabios).
- Add cdrkit-cdrtools-compat, psmisc, gptfdisk, syslinux to
BuildRequires to reduce amount of missing commands
- Include mkinitrd scripts for btrfs, and include it in feature list
OBS-URL: https://build.opensuse.org/request/show/239768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=24
* generator: Sort the structs.
* Use -v and -x flags consistently across OCaml virt-* tools.
* mllib: Rewrite text wrapping function so it can handle newlines within the text.
* mllib: Add a common 'warning' utility function.
* mllib: Add an interface for Common_utils library.
* mllib: Move common code for comparing version strings to library.
* options: Compile out part of union which cannot be used when not compiling guestfish.
* mllib: Create a common utility function is_directory.
* fuse: UID 0 should override all permissions checks (RHBZ#1106548).
* launch: libvirt: Only use serial BIOS (sgabios) on x86.
* daemon: print parameters for vgchange in error messages
* generator: fix daemon functions with optional params but no mandatory params
* appliance: Increase udev timeout to 6000s (RHBZ#1096579).
* launch: libvirt: Add -device sga (sgabios).
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=297
* ppc64: Use console=hvc0 console=ttyS0.
* fish: simplify output of 'supported'
* Fix some spelling mistakes and typos in documentation (RHBZ#1099284).
* configure: Move --with-default-backend test later in configure.ac.
* Fix handling of passwords in URLs
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=286
- Update to version 1.26.2
* sparsify: Add a note about qcow2 internal snapshots not being copied (RHBZ#1094746).
* customize: random-seed file has moved again.
* lib: xmlParse{File,Memory} -> xmlRead{File,Memory}
* launch: direct: Supply -M option when testing qemu for devices.
* tar-in: Fix places where we didn't cancel the receive (FileIn) correctly along error paths (RHBZ#1091803).
* configure: Make sure grep matches qemu 2.x version string.
* daemon: parted: part-get-name: switch from sgdisk to parted (RHBZ#1088424).
* sparsify: If using -v (verbose), ensure #disk_create runs verbose too.
* disk-create: Fix this API so it works correctly with block devices (RHBZ#1088262).
* listfs: If LDM not available, don't inhibit partition detection (RHBZ#1079182).
* mllib: utils: Add mapi function.
* src/launch: improve the addition of the no-hpet option
* handle: Free g->backend_settings.
* python: Remove unnecessary library dependencies.
* utils: Move guestfs___validate_guid out of utils.c.
* utils: Remove for-loop variable decl.
* rescue: Don't leak various variables when using --suggest option with multi-boot guests.
* make-fs: Close FILE* along error path.
* make-fs: Check for error return from guestfs_statvfs.
* daemon: parted: part-get-name: Don't leak partition type string.
OBS-URL: https://build.opensuse.org/request/show/234225
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=20
* sparsify: Add a note about qcow2 internal snapshots not being copied (RHBZ#1094746).
* customize: random-seed file has moved again.
* lib: xmlParse{File,Memory} -> xmlRead{File,Memory}
* launch: direct: Supply -M option when testing qemu for devices.
* tar-in: Fix places where we didn't cancel the receive (FileIn) correctly along error paths (RHBZ#1091803).
* configure: Make sure grep matches qemu 2.x version string.
* daemon: parted: part-get-name: switch from sgdisk to parted (RHBZ#1088424).
* sparsify: If using -v (verbose), ensure #disk_create runs verbose too.
* disk-create: Fix this API so it works correctly with block devices (RHBZ#1088262).
* listfs: If LDM not available, don't inhibit partition detection (RHBZ#1079182).
* mllib: utils: Add mapi function.
* src/launch: improve the addition of the no-hpet option
* handle: Free g->backend_settings.
* python: Remove unnecessary library dependencies.
* utils: Move guestfs___validate_guid out of utils.c.
* utils: Remove for-loop variable decl.
* rescue: Don't leak various variables when using --suggest option with multi-boot guests.
* make-fs: Close FILE* along error path.
* make-fs: Check for error return from guestfs_statvfs.
* daemon: parted: part-get-name: Don't leak partition type string.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=283
- Update to version 1.24.6
* FAQ: Another common problem is permission denied errors when running as root.
* FAQ: Add another common Ubuntu appliance problem.
* list-filesystems: Do not segfault if guestfs_btrfs_subvolume_list returns an error (RHBZ#1064008).
* actions/part_set_gpt_type: set type of "guid" parameter as "GUID" (RHBZ#1008417).
* generator: generate code for parameter validation
* generator: add a GUID parameter type
* utils: add a function to validate a GUID string
* Remove bogus license file from daemon subdirectory.
* daemon: Always pass -F option to mkfs.ntfs.
* resize: Don't truncate libguestfs error messages.
* libvirt-domain: Remove unnecessary and wrongly indented parens.
* fish/uri: Tidy up error messages.
* daemon: lvm2: Ignore "unknown device" output when a PV is missing (RHBZ#1054761).
* generator/set-uuid: Fix two typos in documentation
* sparsify: Prevent overwriting block or char output devices (RHBZ#1056290).
* test-tool: Rearrange output into alphabetical order.
- more testcases for SLE12, using grub2
libguestfs.test.simple.create-sles12-guest.sh
libguestfs.test.simple.create-sles12-guest-crypt-on-lvm.sh
OBS-URL: https://build.opensuse.org/request/show/222204
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=17
* FAQ: Another common problem is permission denied errors when running as root.
* FAQ: Add another common Ubuntu appliance problem.
* list-filesystems: Do not segfault if guestfs_btrfs_subvolume_list returns an error (RHBZ#1064008).
* actions/part_set_gpt_type: set type of "guid" parameter as "GUID" (RHBZ#1008417).
* generator: generate code for parameter validation
* generator: add a GUID parameter type
* utils: add a function to validate a GUID string
* Remove bogus license file from daemon subdirectory.
* daemon: Always pass -F option to mkfs.ntfs.
* resize: Don't truncate libguestfs error messages.
* libvirt-domain: Remove unnecessary and wrongly indented parens.
* fish/uri: Tidy up error messages.
* daemon: lvm2: Ignore "unknown device" output when a PV is missing (RHBZ#1054761).
* generator/set-uuid: Fix two typos in documentation
* sparsify: Prevent overwriting block or char output devices (RHBZ#1056290).
* test-tool: Rearrange output into alphabetical order.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=275
- Update to version 1.24.4
* launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452).
* daemon: Use wipefs_has_force_option to decide whether to add wipefs --force option.
* init: Display clocksource (only when debugging is enabled).
* launch: direct: Make sure we pass lpj= parameter when using TCG.
* Use recommended timer settings for KVM (RHBZ#1053847).
* fuse: clear stat structs (RHBZ#660687).
* fuse: remove extra trailing \n in debug messages
- Include crypto modules in appliance to enable luks related commands
- Resolve also library dependencies of libnss in mkinitrd (bnc#847785)
- BuildRequire nfs-utils to get mount.nfs, for virt-rescue
OBS-URL: https://build.opensuse.org/request/show/214552
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=12
* launch: Allow backend = "appliance" for backwards compatibility (RHBZ#1055452).
* daemon: Use wipefs_has_force_option to decide whether to add wipefs --force option.
* init: Display clocksource (only when debugging is enabled).
* launch: direct: Make sure we pass lpj= parameter when using TCG.
* Use recommended timer settings for KVM (RHBZ#1053847).
* fuse: clear stat structs (RHBZ#660687).
* fuse: remove extra trailing \n in debug messages
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=256
- Update to version 1.24.4
* ruby: Fix .new method (RHBZ#1046509).
* RHEL 6: ruby: Fix fallback to rake/rdoctask for old rake.
* inspect: fix detection of newer CirrOS versions (RHBZ#1045450).
* launch: libvirt: Clearer message when libvirt screws up.
* fish: Fix memory leak in inspect/-i code (detected by valgrind).
* appliance: Create an /etc/resolv.conf file referring to qemu user network nameserver (RHBZ#1044585).
* fish: Move -d option parsing to common function.
* fish: Deprecate the -D option (prefer --no-dest-paths instead).
* daemon: Improve error message for readlink call.
* generator: Fix bug in documentation of guestfs_free_* functions.
* fish: Ensure print_inspect_prompt can only be called by guestfish.
* inspector: Ensure low-level inspection functions can only be called by virt-inspector.
* virt-cat, virt-filesystems, virt-ls don't use libconfig.
* resize: Move roundup64 function into common utilities.
* fuse: provide a stub "flush" implementation (RHBZ#660687).
* recipes: Use new style -a/-d options in virt-edit example.
* daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
* proto: Remove another error message which hides earlier error.
* proto: Remove error message which hides earlier error.
* lib: fix newline in error output (RHBZ#923355).
* recipes: Add a recipe for masking a systemd service.
* launch: direct: Pass -enable-fips option if qemu supports it.
* fish: improve the command error messages
OBS-URL: https://build.opensuse.org/request/show/213063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=10
* ruby: Fix .new method (RHBZ#1046509).
* RHEL 6: ruby: Fix fallback to rake/rdoctask for old rake.
* inspect: fix detection of newer CirrOS versions (RHBZ#1045450).
* launch: libvirt: Clearer message when libvirt screws up.
* fish: Fix memory leak in inspect/-i code (detected by valgrind).
* appliance: Create an /etc/resolv.conf file referring to qemu user network nameserver (RHBZ#1044585).
* fish: Move -d option parsing to common function.
* fish: Deprecate the -D option (prefer --no-dest-paths instead).
* daemon: Improve error message for readlink call.
* generator: Fix bug in documentation of guestfs_free_* functions.
* fish: Ensure print_inspect_prompt can only be called by guestfish.
* inspector: Ensure low-level inspection functions can only be called by virt-inspector.
* virt-cat, virt-filesystems, virt-ls don't use libconfig.
* resize: Move roundup64 function into common utilities.
* fuse: provide a stub "flush" implementation (RHBZ#660687).
* recipes: Use new style -a/-d options in virt-edit example.
* daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
* proto: Remove another error message which hides earlier error.
* proto: Remove error message which hides earlier error.
* lib: fix newline in error output (RHBZ#923355).
* recipes: Add a recipe for masking a systemd service.
* launch: direct: Pass -enable-fips option if qemu supports it.
* fish: improve the command error messages
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=250
- Update to version 1.24.2
* launch: Print program and version as part of standard debug output when launching the handle.
* lua: Don't redefine lua_objlen if already defined.
* lib: Make sure -lselinux is used when linking libguestfs.so.
* daemon: btrfs: Upstream 'btrfs device add' command now needs '--force' option to work.
* perl: Give error instead of crashing if optarg is not an array reference.
* Avoid modulo bias in random password generation
* mllib: Add a utility function for safely reading from /dev/urandom.
* podwrapper: virt-install is not a libguestfs page.
* Update to latest gnulib to get hash relicensing change (thanks Jim Meyering).
* Fix fstab block device resolution for FreeBSD
OBS-URL: https://build.opensuse.org/request/show/211296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=9
* launch: Print program and version as part of standard debug output when launching the handle.
* lua: Don't redefine lua_objlen if already defined.
* lib: Make sure -lselinux is used when linking libguestfs.so.
* daemon: btrfs: Upstream 'btrfs device add' command now needs '--force' option to work.
* perl: Give error instead of crashing if optarg is not an array reference.
* Avoid modulo bias in random password generation
* mllib: Add a utility function for safely reading from /dev/urandom.
* podwrapper: virt-install is not a libguestfs page.
* Update to latest gnulib to get hash relicensing change (thanks Jim Meyering).
* Fix fstab block device resolution for FreeBSD
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=248
* fish: CVE-2013-4419: Fix insecure temporary directory handling for remote guestfish (bnc#845720).
* sysprep: firstboot: Don't set `Created_files flag unless files are created.
* firstboot: Add some debugging to the control script.
* firstboot: Fix test for installing sysvinit scripts.
* firstboot: Install both systemd and SysV init scripts.
* firstboot: Start service after network only.
* firstboot: Fix firstboot scripts so they work on Ubuntu.
* edit: Add virt-edit --edit as an alias for virt-edit -e.
* btrfs: Fix improper memmove usage in do_btrfs_subvolume_list (RHBZ#1018149).
* daemon: xattr: Fix scope of cleanup buf to avoid memory leaks.
* daemon: parted: Fix memory leak of list of strings.
* daemon: Fix scope of cleanup functions to avoid memory leaks.
* df: parallel: Add a debug message when work function returns an error.
* daemon: 'exists' API should not follow broken symlinks.
* sysprep: Don't remove /var/cache/apt/archives/partial directory.
* firstboot: Invoke firstboot.sh script with 'start' parameter.
* daemon: Don't set LD_PRELOAD for guestfsd children.
* daemon: Fix xfs_info parser because of new format.
* sysprep: Fix option quoting in manual page.
* virt-df: parallel: Send debugging messages to stderr.
* inspection: Don't print a warning if \Windows\explorer.exe does not exist.
* launch: direct: Set QEMU_AUDIO_DRV=none to stop qemu opening audio devices.
* virt-df: parallel: Compile debugging messages in always.
* daemon: augeas: Don't test if AUG_NO_ERR_CLOSE is defined.
* daemon: augeas: Enhance error reporting for aug_init failures.
* drives: Don't need to call free_drive_servers since preceding code checks servers == NULL.
* sparsify: Fix signal handling.
* daemon: tar: Use a temporary file to pass excludes to tar command (RHBZ#1001875).
* format: Set MBR partition type byte appropriately (RHBZ#1000428).
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=242
- Remove BuildRequires: qemu-tools
- Add static 169.254.0.0/16 network addresses (bnc#835949)
- Update to version 1.22.6
* Initialize CLEANUP_* stack variables with NULL in various places.
* daemon: sh: Fix missing initializer which caused segfault (RHBZ#1000121).
* fish: Document that guestfish --remote --add won't work as expected (RHBZ#998513).
* launch: direct: Don't try to wait for qemu if parent process forked (RHBZ#998482).
* list-filesystems: Don't fail if there are no filesystems found (RHBZ#995711).
* virt-list-filesystems: Fix to use $g->canonical_device_name instead of homebrew function.
* daemon: If /proc/modules doesn't exist, linuxmodules optgroup is disabled.
* launch: direct: Print \n after printing qemu command line.
* conn: Make sure we display all log messages when qemu goes away.
* lib: Turn 'random_chars' function used by libvirt backend into utility function.
* daemon: ldm: Don't return an error if /dev/mapper doesn't exist.
* daemon: Move all RESOLVE macros to daemon/stubs.c.
* proto: Fix --enable-packet-dump mode.
* daemon: Close augeas, hivex handles in unmount_all.
* Fix parsing of boot flag in do_part_get_bootable()
* Update gnulib to latest version.
* augeas: Improve error reporting.
* launch: direct: Add drives after machine parameters.
* fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.
* resize: Move isatty_stdout function to separate module (TTY.isatty_stdout).
* daemon: cap-get-file: Return empty string if no capability on file (RHBZ#989356).
* src/file.c: Be sure to call guestfs___lazy_make_tmpdir before using g->tmpdir.
* generator: Fix the case where a daemon function has one FileIn/FileOut parameter and no other parameters.
- Create symlink from /etc/mtab to /proc/self/mounts (bnc#840662)
OBS-URL: https://build.opensuse.org/request/show/200193
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libguestfs?expand=0&rev=6
* Initialize CLEANUP_* stack variables with NULL in various places.
* daemon: sh: Fix missing initializer which caused segfault (RHBZ#1000121).
* fish: Document that guestfish --remote --add won't work as expected (RHBZ#998513).
* launch: direct: Don't try to wait for qemu if parent process forked (RHBZ#998482).
* list-filesystems: Don't fail if there are no filesystems found (RHBZ#995711).
* virt-list-filesystems: Fix to use $g->canonical_device_name instead of homebrew function.
* daemon: If /proc/modules doesn't exist, linuxmodules optgroup is disabled.
* launch: direct: Print \n after printing qemu command line.
* conn: Make sure we display all log messages when qemu goes away.
* lib: Turn 'random_chars' function used by libvirt backend into utility function.
* daemon: ldm: Don't return an error if /dev/mapper doesn't exist.
* daemon: Move all RESOLVE macros to daemon/stubs.c.
* proto: Fix --enable-packet-dump mode.
* daemon: Close augeas, hivex handles in unmount_all.
* Fix parsing of boot flag in do_part_get_bootable()
* Update gnulib to latest version.
* augeas: Improve error reporting.
* launch: direct: Add drives after machine parameters.
* fish: Fix guestfish so it can recognize sheepdog://... as a valid URI.
* resize: Move isatty_stdout function to separate module (TTY.isatty_stdout).
* daemon: cap-get-file: Return empty string if no capability on file (RHBZ#989356).
* src/file.c: Be sure to call guestfs___lazy_make_tmpdir before using g->tmpdir.
* generator: Fix the case where a daemon function has one FileIn/FileOut parameter and no other parameters.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=237
* sysprep: On RHEL, firstboot script should be called S99... not 99.
* fish: For -N option, add drive with explicit format = "raw".
* daemon: Implement set-label for XFS and fix it for btrfs (RHBZ#986875).
* mkfs: Use -b size=<size> for xfs (RHBZ#981715).
* cmd: Allow callers to override file-closing behaviour after fork.
* daemon: hivex: Check that hivex_commit is passed an absolute path (RHBZ#981683).
* daemon: Verify ext2/3/4 filesystem name before passing to mke2fs (RHBZ#978302).
* virt-resize: Add notes about Windows and disk consistency (RHBZ#975753).
* virt-resize: Take into account large start offset of the first partition when calculating overhead (RHBZ#974904).
* launch: direct: Calculate appliance root correctly when iface drives are added (RHBZ#975797).
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=215
* events: Avoid event handler limit if program allocates and deallocates handlers.
* proto: Fix for rare FileIn hangs. (RHBZ#969845)
* inspection: Don't segfault if /etc/SuSE-release is an empty file.
* fuse: Allow specifying the fstype of a mount
* is_lv: Does not need to depend on lvm2.
* add --with-supermin-extra-options configure option
* Remove use of gnulib progname module.
* inspection: Fix double-free when certain guest files are empty. (CVE-2013-2124)
* daemon: Properly quote arguments for tar-out, base64-out commands (RHBZ#957772).
* inspection: Don't fail if libosinfo database is not found (RHBZ#948324).
* daemon/copy: Ensure errno is preserved along error
* Better error messages for FUSE and other things not supported.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=210
* trace: Put trace buffer on the stack instead of in the handle.
* FAQ: Add question about running fsck on live filesystems
* lib: Check calls to xmlXPathEvalExpression for nodesetval == NULL.
* recipes: Add example converting from one format/filesystem to another
* daemon: protocol: Fix memory leak when receiving FileIn file (RHBZ#914934).
* protocol: Don't segfault if appliance crashes during FileIn upload (RHBZ#914931).
* libutils: Add guestfs___count_strings utility function to common library
* lib: Create libutils convenience library.
* docs: Rewrite security section (thanks Dan Berrange)
* lib: Fix memory leak when the 'lpj' setting is read from dmesg.
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=191
* proto: Fix stack overflow when there are many progress events (RHBZ#909624).
* rescue: Count the mountable filesystems when displaying the 'suggest' message.
* lib: Define CLEANUP_CMD_CLOSE macro and use it throughout the library.
* lib: Allow guestfs_free_* functions to be safely called with a NULL pointer.
* btrfs: Fix btrfs_subvolume_list on F18 (RHBZ#903620).
* daemon: Check parameter of base64-out and tar-out before running external command (RHBZ#908322).
* daemon: download: Add extra check that download file is not a directory (RHBZ#908321).
* daemon: Add more information to certain calls to perror.
* daemon: Call wipefs before mkfs to work around pathological behaviour in btrfs.
* lib: Add CLEANUP_* macros which automatically free things when leaving scope.
* header: Deprecate LIBGUESTFS_HAVE_* in favour of GUESTFS_HAVE_*.
* fuse: Use guestfs_rename to implement rename(2) syscall (RHBZ#895910).
* New API: rename: Rename file within the same filesystem (RHBZ#895910).
* fuse: If guestfs_last_errno returns 0, don't return no error to FUSE layer.
* daemon: Change ln, ln-f (hard-link) APIs to use link(2) instead of external ln (RHBZ#895905).
* Fix checksums-out command (RHBZ#895904).
* launch: appliance: Fix parsing of QEMU_OPTIONS.
* launch: appliance: Small refactoring of virtio-scsi detection code.
- enable ruby bindings only in 12.2 or later, ruby is too fragile
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libguestfs?expand=0&rev=190
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.