GUESTFS-RELEASE-NOTES-1.38(1)
💖 NAME 💖
Okay bestie, this is guestfs-release-notes — the libguestfs Release Notes, and you’re looking at the guestfs-rel...-notes-1.38(1) page from the Virtualization Support section. It’s giving official docs but make it make sense. 🫶
🌈 RELEASE NOTES FOR LIBGUESTFS 1.38 🌈
These release notes only cover the differences from the previous stable/dev branch split (1.36.0). For detailed changelogs, please see the git repository, or the ChangeLog file distributed in the tarball. 💾
✨ New features ✨
🛠️ New tools
virt-builder-repository— a brand-new tool allowing end users to create and update virt-builder repositories (Cédric Bosdonnat). Obsessed.virt-rescue— okay so it’s not a new tool, but it has been substantially rewritten, implementing job control,-mand-ioptions, escape keys, etc. Literally a glow-up.
🧰 New features in existing tools
- Virt-builder planner — improved so that faster and more efficient build plans are chosen for complex cases, especially when either the
tmpdiror output is on networked storage. - New virt-builder Fedora templates (starting with Fedora 26) — will have plain partition layout and use GPT for partitions.
- Virt-customize
firstbootscripts — in guests using systemd, they’re now installed undermulti-user.targetinstead ofdefault.target, so they will only run when the system is booted normally. - Virt-customize — now sets a random
/etc/machine-idfor Linux guests, if one is not already set. - Virt-df — now works correctly on filesystems with block sizes smaller than
1K(Nikolay Ivanets). - Virt-dib — has further compatibility enhancements with diskimage-builder (Pino Toscano).
- Virt-sysprep — removes
DHCP_HOSTNAMEfromifcfg-*files. - Virt-sysprep — now works on Oracle Linux (Jamie Iles).
- Virt-resize — now correctly copies GPT partition attributes from the source to the destination (Cédric Bosdonnat).
- Bash tab completion — implemented or enhanced for:
virt-win-reg,virt-v2v-copy-to-local.
🌀 virt-v2v and virt-p2v
- Virt-v2v can now read VMware VMX files directly, either from local disk, NFS storage, or over SSH from an ESXi hypervisor.
- Virt-v2v can now use VDDK as an input source.
- Both virt-v2v and virt-p2v are now able to pass through the source CPU vendor, model and topology. However unfortunately not all source and target hypervisors are able to provide or consume this data at present (Tomáš Golembiovský).
- Virt-v2v now supports encrypted guests (Pino Toscano).
- Virt-v2v can now handle VMware snapshots. Note that the snapshots are collapsed — it does not convert the chain of snapshots into a chain of snapshots.
- Virt-v2v now installs Windows 10 / Windows Server 2016 virtio block drivers correctly (Pavel Butsykin, Kun Wei).
- Virt-v2v now installs
virtio-rng,balloonandpvpanicdrivers, and correctly sets this in the target hypervisor metadata for hypervisors which support that (Tomáš Golembiovský). - Virt-v2v now installs both legacy and modern virtio keys in the Windows registry (Ladi Prosek).
- Virt-p2v can now preserve (in some cases) the offset of the Real Time Clock from UTC.
- Virt-p2v now combines several scp commands to the conversion server into a single command, improving conversion times.
- Virt-v2v now detects the special Linux Xen PV-only kernels correctly (Laszlo Ersek).
virt-v2v -o glancenow generates the right properties for UEFI guests (Pino Toscano).virt-v2v -o nullnow avoids spooling the guest to a temporary file, instead it writes to the qemunull block device. This makes it faster and use almost no disk space.virt-v2v -o rhvnow supports Windows 2016 Server guest type.virt-v2v -i libvirtxmlcan now open network disks overhttporhttps.- Virt-v2v will now give a warning about host passthrough devices (Pino Toscano).
- The
virt-v2v --machine-readableoutput has been enhanced so it includesvcenter-https,xen-sshandin-placefacts (Pino Toscano).
🗣️ Language bindings
- Fixed multiple memory leaks and other data corruption problems in the Java bindings (Pino Toscano).
- Perl
%guestfs_introspectionhas been dropped. RIP.
🔍 Inspection
- Inspection support was rewritten in OCaml and included inside the daemon. This makes inspection considerably faster, more robust and more easily extensible in future.
- Better icon support for ALT Linux guests (Pino Toscano).
- Better support for NeoKylin (Qingzheng Zhang).
- Can handle OSes like Void Linux which do not include
VERSION_IDin/etc/os-release(Pino Toscano). - Add support for Microsoft MS-DOS (Daniel Berrangé).
🏗️ Architectures and platforms
- Multiple fixes for S/390 architecture. Libguestfs and all the tools should now compile and run on this architecture.
🌟 Other
- 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.
🔒 Security
There were multiple vulnerabilities in the icoutilswrestoolprogram which is run by libguestfs to create icons for Windows guests. Using the latestwrestoolis recommended. 💀
🧩 API
🆕 New APIs
hivex_value_string— this replaces the deprecatedhivex_value_utf8API, but does the same thing.part_get_gpt_attributes,part_set_gpt_attributes— read and write GPT partition attribute flags (Cédric Bosdonnat).part_resize— enlarge or shrink an existing partition (Nikos Skalkotos).yara_destroy,yara_load,yara_scan— support for the Yara malware scanning engine (Matteo Cafasso).
♻️ Other API changes
- APIs implemented in the daemon can now be written in either C or OCaml. Several APIs were rewritten in OCaml, although we are not planning to rewrite all of them.
- You will now get a clear error message if you try to add too many disks to the appliance, instead of getting a peculiar failure from qemu.
- Certain APIs accidentally allowed you to use
/dev/urandomas an input "device", eg.g.copy_device_to_device("/dev/urandom", "/dev/sda"). The code has been modified to forbid this usage. - All APIs for inspecting installer CDs have been deprecated. Use libosinfo for this task.
🏗️ Build changes
- A working OCaml compiler ≥ 4.01 is now required for building libguestfs. The
./configure --disable-ocamloption remains but is only used to disable the OCaml language bindings. - Add
RELEASESfile which lists release dates for each version of libguestfs. You must update this file when making a new release. - Documentation generated by
gtk-dochas been removed../configure --enable-gtk-docnow does nothing. - Libtirpc is now used for XDR functions and rpcgen. Note that glibc has deprecated and in most Linux distros dropped these, so for most people this will be an extra dependency (Martin Kletzander).
- Libxcrypt is now used for crypt(3). This is required if using glibc ≥ 2.27.
ocaml-hivexis now required.- Libvirt ≥ 1.2.20 is now required.
- There is now a
make check-roottarget for tests which need to be run as root (analogous tomake check-slow). ./configure-time check for__attribute__((cleanup))now works in the cross-compilation case (Yann E. Morin).- The
AUTHORSandp2v/about-authors.cfiles are now generated from a single place. - Either GnuPG v1 or v2 can be used.
./configure --with-guestfs-pathmay be used to set the defaultLIBGUESTFS_PATH. In addition the way that the path is searched has changed slightly so that all types of appliances are searched in each path element separately (Pavel Butsykin).GUESTFSD_EXT_CMDwhich was used to mark external commands in the daemon has been removed. It was originally used by SUSE builds, but they have not been using it for a while.- The output from
./configureis now visually grouped under headings related to what it is doing, making it much easier to scan (Pino Toscano). - OCaml dependencies are now generated from a single script instead of multiple not-quite-the-same Makefile fragments.
./configure --with-distro=IDcan be used to override automatic Linux distro detection at build time (Pino Toscano).- qemu ≥ 2.10 is supported (but not required). This adds mandatory locking to disks and libguestfs turns this off in certain circumstances when it is known to be safe (Lars Seipel, Peter Krempa, Daniel Berrangé, Pino Toscano, Fam Zheng, Yongkui Guo, Václav Kadlčík).
🧚 Internals
- Most common code has been moved to the
common/subdirectory, with OCaml common code being incommon/ml*directories (eg.common/visitandcommon/mlvisitcontain the visitor library in C and OCaml respectively). Themllibdirectory has been deleted and replaced bycommon/mltools. - There is now a lightweight OCaml binding for PCRE, see
common/mlpcre. Use of OCamlStrlibrary has been mostly replaced with PCRE. - Add more calls to
udev_settleto improve stability of partition code (Dawid Zamirski). - Run
udev_settlewith--exit-if-existsoption, which improves the speed of this command (Pavel Butsykin). - Detect new locations of major(3), minor(3), makedev(3).
- Actions can now be deprecated with no suggested replacement, for APIs such as
guestfs_wait_readythat should simply be removed from client code. - Use gnulib
set_nonblocking_flagwrapper instead of calling fcntl(2) withO_NONBLOCK(Eric Blake). Similarlyset_cloexec_flag. - Fix memory leak in XFS version of
guestfs_vfs_minimum_size(Pino Toscano). - Valgrind checks now run on the virt-p2v binary.
- Unicode single quotes (
‘’) and now used in place of''or'throughout the code and documentation. Similarly for’sinstead of's. - The
is_zerofunction has been reimplemented for greater speed (Eric Blake). - In the direct backend, virtio-blk support has been removed. Virtio-scsi is now the only supported way to add disks.
- Generator string parameter and return types have been rationalised so there are only two types (
String,StringList) with many subtypes eg.FileInbecomesString (FileIn, ...). - The appliance disk image can now be in formats other than raw (Pavel Butsykin).
- Multiple improvements to how we automatically build Debian templates for virt-builder (Pino Toscano). Enable serial console for these templates (Florian Klink).
- In the daemon, instead of making a private copy of
lvm.confand modifying it (eg for filters), start with an empty file since LVM understands that to mean"all defaults"(Alasdair Kergon, Zdenek Kabelac). - The
directbackend can now run QMP queries against the QEMU binary, enhancing the kinds of information we can detect. In addition the code to query QEMU has been made more robust for handling multiple parallel queries of different versions of QEMU. - OCaml Augeas bindings are bundled under
common/mlaugeas. The long term plan is to remove this and use systemocaml-augeaswhen it is more widely available in distros (Pino Toscano).
okay so, all OCaml modules (*.ml files) are now required to have an interface file (*.mli). If a module doesn’t export anything, that interface file will be empty except for comments — and honestly, sometimes that’s the whole vibe. 💅
Certain OCaml features in OCaml ≥ 4.01 are used throughout the code, including replacing { field = field } with { field }. the way that little shortcut ate, no cap. ✨
Virt-builder make-template utility now uses the virt-install --transient option, so we should never need to clean up left over domains after a crash. It also saves kickstarts and virt-install commands, which are committed to git for future reference. archival queen behavior, fr fr. 🎀
/dev/shm is now created in the appliance (Nicolas Hicher). 🫶
In verbose mode on Fedora guests, virt-customize will now use dnf --verbose, enabling better debugging output. lowkey a debugging glow-up. 🔥
Virt-v2v input and output classes now contain a #precheck method which is used to perform environmental checks before conversion starts. main character method energy. 👑
Virt-p2v enables miniexpect debugging. It is written to stderr (of virt-p2v).
Virt-v2v free space checks are more liberal especially for smaller guests (Pino Toscano). generous icon behavior. 🌸
💀 Bugs fixed 💀
okay bestie, this is the bug-fix roll call and every single link is staying. periodt. 🐞
https://bugzilla.redhat.com/1540535— “Example URI of"Convert from ESXi hypervisor over SSH to local libvirt"is incorrect inv2vman page”https://bugzilla.redhat.com/1539395— “virt-customizesegfaults after upgrading to1.37.35-3”https://bugzilla.redhat.com/1536765— “Libguestfs Perl bindings can leak a small amount of memory on error”https://bugzilla.redhat.com/1536763— “libguestfs Lua bindings usestrerror(), which isn’t thread safe”https://bugzilla.redhat.com/1536603— “man page makes no mention of using--when trying to change exit on error behavior”https://bugzilla.redhat.com/1525241— “virt-dfdisplays zeros for filesystems with block size=512”https://bugzilla.redhat.com/1519204— “v2vshould improve the result when convert arhel7.4guest with no available kernels found in the bootloader”https://bugzilla.redhat.com/1518517— “virt-v2vfails with"unsupported configuration: shared access for disk 'sdb' requires use of supported storage format"”https://bugzilla.redhat.com/1516094— “Mere presence of QEMU file locking options breaks NBD (Block protocol'nbd'doesn't support the option'locking')”https://bugzilla.redhat.com/1514756— “./configure --disable-ocamlbreaks buildingcommon/mlpcrewhich breaks building daemon”https://bugzilla.redhat.com/1513884— “[RFE]Should update some vddk info inv2vman page”https://bugzilla.redhat.com/1508874— “virt-v2v: warning: ova disk has an unknown VMware controller type (20)”https://bugzilla.redhat.com/1506572— “virt-v2v '-i ova'is not parsing the MAC address from the source OVF”https://bugzilla.redhat.com/1506511— “virt-builderfails to parse repo file if it has blank space after the repository identifier”https://bugzilla.redhat.com/1503958— “Failed to convert therhel5guest withkmod-xenpvinstalled from xen server byvirt-v2v”https://bugzilla.redhat.com/1503497— “qemu-kvmfails to open qcow2 files in read-only mode withqemu-kvm 1.5.3”https://bugzilla.redhat.com/1500673— “Error info shows wrong sometimes when ssh to conversion server using non-root user with sudo onp2vclient”https://bugzilla.redhat.com/1500537— “/dev/shmdoes not exist in the appliance environment”https://bugzilla.redhat.com/1497475— “guestfishcannot list commands from interactive mode”https://bugzilla.redhat.com/1493048— “Unbound constructorHivex.OPEN_UNSAFE”https://bugzilla.redhat.com/1484957— “bump debian images to use single-partition layout”https://bugzilla.redhat.com/1482737— “virt-resizefailed to expand swap partition forRHEL5.11guest image with"parsing UUID failed"”https://bugzilla.redhat.com/1477623— “Running file API on a special chardev may hang forever”https://bugzilla.redhat.com/1476081— “inspect-osreport error: could not parse integer in version number:V7Update2”https://bugzilla.redhat.com/1472719— “[RFE]Add warning in process ofv2vconverting guest which has pci passthrough device”https://bugzilla.redhat.com/1472208— “virt-v2vfails onopensuse 13.2guest with error:statns: statns_stub: path must start with a / character”https://bugzilla.redhat.com/1469655— “firstboot scripts are not correctly installed in Fedora26”https://bugzilla.redhat.com/1466563— “Libguestfs should pass copyonread flag through to the libvirt XML”https://bugzilla.redhat.com/1465665— “1.36.xbuild failure:gtkdocizefails using newer autotools due to missingGTK_DOC_CHECKinconfigure.ac”https://bugzilla.redhat.com/1460338— “guestfs_shutdownhangs if main process sets signal handlers”https://bugzilla.redhat.com/1459979— “guestfs_add_domain_argvfails with readonly option whenvdi/vhddisk is attached to libvirt domain”https://bugzilla.redhat.com/1451665— “RFE:Virt-v2vcan't convert the guest which has encrypted partition”https://bugzilla.redhat.com/1450325— “document URI format for-aparameters of tools”https://bugzilla.redhat.com/1448739— “RFE: Support multicore decompression for OVA files usingpigzandpxz”https://bugzilla.redhat.com/1447202— “Win2016guest is described as Win10after imported toRHEVM”https://bugzilla.redhat.com/1441197— “RFE: ability to convert VMware virtual machines viavmx”https://bugzilla.redhat.com/1438939— “Please drop or updateGnuPG (1.4.x)dependency”https://bugzilla.redhat.com/1438794— “[RFE] Install Windowsvirtio-rngdrivers on VMs imported”https://bugzilla.redhat.com/1433937— “virt-inspectorcan't get icon info fromaltlinux-centaurus”https://bugzilla.redhat.com/1433577— “policycoreutils setfiles >= 2.6does .. nothing”https://bugzilla.redhat.com/1431579— “Windows8UEFI from VMware to KVM fails to boot after conversion”https://bugzilla.redhat.com/1430680— “There is error info about"No such file or directory"when convert a guest from ova file byv2v”https://bugzilla.redhat.com/1430184— “virt-dibshould generatesha256checksum instead ofsha512”https://bugzilla.redhat.com/1429506— “RFE: OVMF should be detected on conversion server to prevent failed conversion”https://bugzilla.redhat.com/1429491— “Should rename network name of rhv invirt-v2vman page”https://bugzilla.redhat.com/1427529— “virt-sysprepshould removeDHCP_HOSTNAME”https://bugzilla.redhat.com/1417306— “QEMU image file locking (libguestfs)”https://bugzilla.redhat.com/1409024— “[Debian] Missingdb_dumpabort inspection”https://bugzilla.redhat.com/1406906— “Segmentation fault when reading corrupted path with Python3bindings”https://bugzilla.redhat.com/1379289— “RFE:virt-p2vshould support mnemonic operations”https://bugzilla.redhat.com/1378022— “There isvirt-v2vwarning about<listen type='none'>during converting a guest which haslisten type='none'in XML”https://bugzilla.redhat.com/1376547— “qemu-system-s390x: -device isa-serial,chardev=charserial0,id=serial0: 'isa-serial' is not a valid device model name”https://bugzilla.redhat.com/1374232— “selinux relabel fails on RHEL6.2guests with"libguestfs error: selinux_relabel: : Success"”https://bugzilla.redhat.com/1367738— “Missing bash completion scripts for:virt-diffguestunmountvirt-copy-invirt-copy-outvirt-customizevirt-get-kernelvirt-p2v-make-diskvirt-p2v-make-kickstartvirt-tar-invirt-tar-outvirt-v2v-copy-to-localvirt-win-reg”https://bugzilla.redhat.com/1362649— “RFE:virt-sysprepdoes not utilize libguestfs encryption support”https://bugzilla.redhat.com/1172425— “[RFE]virt-v2vfailed to convert VMware ESX VM with snapshot”https://bugzilla.redhat.com/1171654— “Modify a file invirt-rescuewithvion some linux terminal such asyakuake, can lead to abnormal display invirt-rescueshell”https://bugzilla.redhat.com/1167623— “Remove"If reporting bugs, run virt-v2v with debugging enabled .."message when runningvirt-p2v”https://bugzilla.redhat.com/1152819— “Can not end a running command invirt-rescueby press^Cor other keys, the only way is to exitvirt-rescue”
👀 SEE ALSO 👀
like, go read these next, bestie — they’re the companion lore:
guestfs-examples(1)guestfs-faq(1)guestfs-performance(1)guestfs-recipes(1)guestfs-testing(1)guestfs(3)guestfish(1)http://libguestfs.org/
✍️ AUTHOR ✍️
the one and only Richard W.M. Jones 👑💖
©️ COPYRIGHT ©️
Copyright (C) 2009-2025 Red Hat Inc.
📜 LICENSE 📜
okay legal bestie, here’s the exact license text and we are not touching the words:
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
🐞 BUGS 🐞
To get a list of bugs against libguestfs, use this link:
https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
To report a new bug against libguestfs, use this link:
https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
When reporting a bug, please supply:
- The version of libguestfs.
- Where you got libguestfs (eg. which Linux distro, compiled from source, etc)
- Describe the bug accurately and give a way to reproduce it.
- Run
libguestfs-test-tool(1)and paste the complete, unedited output into the bug report.
💅 that’s the end — this page is libguestfs-1.61.3, dated 2026-09-16. now go be iconic and file those bugs with receipts. 💖
📦 where this page comes from
- centos-stream 10: libguestfs 1:1.61.3-1.el10 · LGPL-2.1-or-later
- 💖 girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms