GUESTFS-RELEASE-NOTES-1.32(1)
π NAME π
ok so this is guestfs-release-notes β the libguestfs Release Notes, bestie. we're looking at guestfs-release-notes-1.32(1) today and it's giving β¨history lessonβ¨ but make it useful.
π RELEASE NOTES FOR LIBGUESTFS 1.32 π
real talk: these notes only cover the diff from the previous stable/dev branch split (1.30.0). that's it, that's the scope. if you're the type who needs the full detailed changelogs (and honestly, respect), go check the git repository or the ChangeLog file that ships in the tarball. π«Ά
πΈ New features πΈ
β¨ New tools β¨
there's a brand new tool in town: virt-v2v-copy-to-local(1). it's an ancillary tool for virt-v2v(1) and its whole job is letting you convert source guests that virt-v2v literally cannot access directly. iconic problem-solving energy. π
π₯ New features in existing tools π₯
virt-customizenow knows how to write a random seed to CirrOS (Pino Toscano). slay.- On Fedora,
virt-customizerunsdnf(8)with the--bestflag, which means it's always updating to the latest available packages. no cap, no stale packages. π virt-buildernow provides 32 bit Fedora templates. finally.- The
virt-builderandvirt-customize--installoption now works on 32 bit Fedora guests. previously it would try to install 64 bit packages, which was a whole mess (Jan SedlΓ‘k). virt-buildercan now fetch cloud images using Simple Streams v1.0 metadata (Pino Toscano). fancy.virt-buildercan now fetch openSUSE cloud images out of the box (CΓ©dric Bosdonnat). no extra setup, just vibes.virt-customizenow uses stronger (SHA-512) encrypted passwords by default on openSUSE β₯ 11 (Pino Toscano). security girlies stay winning. π₯virt-buildernow correctly handles output filenames containing colon characters (":"), and creates temporary files in the libguestfs cache directory instead of defaulting to/tmp(Pino Toscano). the/tmpthing was lowkey chaotic, glad it's fixed.virt-resizehas a new--unknown-filesystemsoption to control what happens when you ask it to resize a filesystem that libguestfs doesn't know how to resize. your call, bestie.virt-v2vnow has an--in-placeflag/mode, allowing in-place conversion of guests (Roman Kagan). huge.virt-v2vhas a--compressedoption for creating compressed qcow2 output files. smaller files, same drama. πvirt-v2vcan now correctly get the VMware datacenter path (dcPath) from libvirt, instead of having to calculate it using an algorithm that occasionally got the wrong answer (Matthias Bolte, Tingting Zheng). the old algorithm was giving "close enough" and we don't do that here.virt-v2vnow processes RAM sizes correctly for 64 bit guests when running on a 32 bit host. math was mathing incorrectly before, now it maths right. β¨
π¦ Language bindings π¦
- In Perl and Python programs, the
get_program_nameAPI now returns the true program name, instead of the incorrect string"perl"or"python". like, be honest about who you are. π - The Python bindings can now be compiled against a different version of libguestfs, which lets the pip module be built against any version of libguestfs (instead of requiring the pip module and libguestfs to have exactly the same version). freedom!!
- The quality of the Ruby rdoc (documentation) has been improved (Pino Toscano). docs girlies rise. π
- Perl scripts no longer hard-code the location of perl in the shebang line, but use
env(1)to locate it instead (Pino Toscano). portable and cute. - In OCaml programs, the guestfs handle was incorrectly made into a global root, meaning it could never be garbage collected. π so if you didn't call the
closefunction explicitly, the handle would not be closed until the whole program exited. this has now been fixed so handles get garbage collected the usual way. this changes the API of the OCaml functionGuestfs.event_callback. note that non-C language bindings are not covered by the libguestfs API/ABI guarantee β although we try hard not to change them, but in this case it was essential in order to fix this very serious bug. no regrets. periodt.
π§ Inspection π§
- Alpine Linux and the APK package manager, ALT Linux, Frugalware, and PLD Linux are now recognized (Pino Toscano). the roster grows. π
- If it exists,
/etc/os-releasewill be preferred for inspecting Linux guests (Pino Toscano). first choice, main character. - The correct kernel version is returned for Windows guests β₯ 10. we love an accurate answer.
π Documentation π
the large guestfs(3) man page has been split into several separate man pages: guestfs-hacking(1) guestfs-internals(1) guestfs-security(1). in the source tree, a new docs directory contains this documentation. she got organized!! π
β Architectures and platforms β
Libguestfs now supports ARM 64 bit platforms with vGICv3. slay on the arm64 girlies. π
π Security π
see also guestfs-security(1). yes, the new one. we told you about it up there. π
CVE-2015-5745β https://bugzilla.redhat.com/1251157
okay so important: this is not a vulnerability in libguestfs, but because we always give a virtio-serial port to each guest (since that is how guest-host communication happens), an escalation from the appliance to the host qemu process is possible. π«£ this could affect you if:
- your libguestfs program runs untrusted programs out of the guest (using
guestfs_shetc), or - another exploit was found in (for example) kernel filesystem code that allowed a malformed filesystem to take over the appliance.
if you use sVirt to confine qemu, that would thwart some attacks. so like... do that, bestie. π‘οΈ
- Virt-customize permissions on
.ssh,.ssh/authorized_keysβ https://bugzilla.redhat.com/1260778.
previously when asked to inject an SSH key into a guest, virt-customize (hence virt-builder too) would create the .ssh directory and .ssh/authorized_keys file with too broad permissions, allowing other users to read. π they are now created as 0700 and 0600 respectively, which is the same as the ssh-copy-id(1) utility. we fixed the leaky vibe. π
πΈ API πΈ
β¨ New APIs β¨
guestfs_get_identifier/guestfs_set_identifierβ get/set a per-handle identifier. the main effect of this is to change trace output from:
libguestfs: trace: foo
to:
libguestfs: trace: ID: foo
making it easier to follow traces in multi-threaded programs, or where a program uses multiple handles (especially virt-v2v). tbh this is such a quality-of-life upgrade. π₯
guestfs_vfs_minimum_sizeβ return the minimum size of a filesystem (when shrunk). this supports ext2/3/4, XFS and btrfs, and can support other filesystem types in future (Maxim Perevedentsev). flexible queen. π
π¦ Other API changes π¦
guestfs_disk_create: addpreallocation=off/metadata/full.
for raw, this allows off as a synonym for sparse (making it consistent with qcow2). for qcow2, this allows sparse as a synonym for off.
it also adds full, which corresponds to fully allocated, but uses posix_fallocate(3) for efficiency. efficient and fully committed. π
guestfs_tar_in: newxattrs,selinux,aclparameters.guestfs_tar_out: newxattrs,selinux,aclparameters.
these extra parameters control whether extended attributes, SELinux contexts and/or POSIX ACLs are restored from / saved to tarballs. you get to choose!! π
guestfs_add_driveβ the existingusernameandsecretparameters can be used to supply authentication for iSCSI (Pino Toscano). auth unlocked. π
π₯ Build changes π₯
- the
./configure --enable-valgrind-daemonoption has been removed. gone. bye. π - you can no longer build libguestfs on RHEL 5-era (c.2007) machines. see the
oldlinuxbranch if you need (limited) RHEL 5 support. we're moving on, bestie. virt-p2vcan now be built on RHEL 6-era (c.2010) Linux distros. progress!! π- OCaml β₯ 3.11 (released in 2008) is now required to build from git.
- building the Perl bindings now requires
Module::Build(instead ofExtUtils::MakeMaker). switcheroo. - builds should be faster (especially when incrementally rebuilding), because work was done to reduce build times. β‘ we love a speed-up.
- both OCaml and the OCaml findlib module are required if you need to run the generator at build time. previously the build would have failed if findlib was not installed. now the requirements are honest about themselves.
make checktests now run in parallel (within each test directory). multitasking icon. β¨make installno longer installs OCamlbindtests.*files incorrectly. oops before, fixed now.make installcan now be run twice. previously it would fail on the second run. idempotent-ish, we love to see it. πmake cleanshould now remove nearly every file thatmakecreates. tidy.- a new
make installcheckrule has been added, allowing the installed copy of libguestfs to be tested. test your actual install, not just the source tree. π
π§ Internals π§
- some effort was put into minimizing the size of the appliance, which reduces temporary disk space and time needed by libguestfs handles. smaller appliance, faster vibes. π¦
- the appliance now passes the NIC name to dhcpd, fixing hangs when running the appliance on some distros (CΓ©dric Bosdonnat). hang no more.
- OCaml
Guestfs.Errnois now generated (Pino Toscano). - in OCaml tools, common code now handles
--debug-gc,--verboseand other common options (Roman Kagan, Pino Toscano). DRY but make it OCaml. - the
virt-v2vtest harness allows us to boot the test guests at fixed dates in the past, ensuring that Windows reactivation doesn't kick in. time travel for testing purposes only. β° - there is a new internal API for reading/writing a subprocess via a pipe from library code.
- used the
deheaderprogram to remove unused#includedirectives. decluttered. π - in OCaml tools, the
CharandStringmodules now implicitly reference theCommon_utils.CharandCommon_utils.Stringmodules (instead of the ones from stdlib). theCommon_utilsmodules contain a number of extra char/string utility functions, and also hide some unsafe functions in stdlib. safer defaults, love that for us. - many more
virt-v2vtests will now be run even if you don't have rhsrvany and virtio-win installed (Roman Kagan). more coverage, fewer excuses. π₯ - the huge
configure.acfile has been split into several smaller files calledm4/guestfs_*.m4. she got decomposed. π - the old
tests/dataandtests/guestsdirectories have been moved totest-data/. this new top level directory carries all test data which is common, large and/or shared between multiple tests. one central stash, as she should. π - there is a new top level
website/directory containing the publichttp://libguestfs.orgwebsite (or most of it). yes, most of it. π - the fuzz testing of inspection (
tests/fuzz) has been removed. it's gone, bestie. π virt-p2vnow saves the source physical machinedmesgoutput into the conversion server debug directory, making it simpler to debug cases of missing drivers, firmware etc. debugging with receipts. π«Ά
β Bugs fixed β
- https://bugzilla.redhat.com/1294956 β
set-labelreturns wrong error message when set the ext3/ext4 filesystem label - https://bugzilla.redhat.com/1288733 β Add a Fedora 23 32-bit base image for
virt-builder - https://bugzilla.redhat.com/1288201 β
virt-builderwrites temporary files to/tmp - https://bugzilla.redhat.com/1285847 β
virt-resizedoes not copy logical partitions - https://bugzilla.redhat.com/1281578 β
virt-inspectorreturns version 6.3 for win10 images (should return 10.0) - https://bugzilla.redhat.com/1281577 β
virt-inspector --xpathsegfault on attribute get - https://bugzilla.redhat.com/1280029 β libguestfs can run commands with stdin not open (or worse still, connected to arbitrary guest-chosen random devices)
- https://bugzilla.redhat.com/1279273 β About compression option for qcow2
- https://bugzilla.redhat.com/1278878 β guestfish should be able to handle LVM thin layouts
- https://bugzilla.redhat.com/1278382 β DNF python programming error when run from
virt-builder - https://bugzilla.redhat.com/1278371 β inspection returns
arch="unknown"for Windows guest if file command is not installed - https://bugzilla.redhat.com/1277274 β Document permissions needed for non-admin users to use
virt-v2v
part 1 done, bestie β more coming, don't go anywhere π«Άβ¨
https://bugzilla.redhat.com/1277122β RFE: virt-sparsify: make '--in-place' sparsification safe to abort (gracefully or ungracefully)https://bugzilla.redhat.com/1277074β Virt-p2v client shouldn't present the vdsm option because it's not usablehttps://bugzilla.redhat.com/1276540β virt-v2v fails to convert Windows raw image: error "device name is not a partition"https://bugzilla.redhat.com/1275806β virt-builder: error: [file] is not a regular file in the guesthttps://bugzilla.redhat.com/1270011β Simplestreams test fails: virt-builder: error: the value for the key 'size' is not an integerhttps://bugzilla.redhat.com/1267032β guestfish copy-in command behaves oddly/unexpectedly with wildcardshttps://bugzilla.redhat.com/1262983β python: Cannot compile pip module if installed libguestfs != pip guestfs versionhttps://bugzilla.redhat.com/1262127β Better diagnostic message when virbr0 doesn't existhttps://bugzilla.redhat.com/1261436β No warning shows when convert a win7 guest with AVG AntiVirus installedhttps://bugzilla.redhat.com/1260778β virt-builder --ssh-inject doesn't set proper permissions on created fileshttps://bugzilla.redhat.com/1260689β RFE: V2V to check and warn user to disable group policy and anti virus on Windows guestshttps://bugzilla.redhat.com/1260590β Wrong graphics protocol and video type set for guest after convert to rhev 3.6 by virt-v2vhttps://bugzilla.redhat.com/1258342β extra slashes in vcenter URL confuses virt-v2vhttps://bugzilla.redhat.com/1257895β [RHEV][V2V] virt-v2v ignores NIC if interface source/@network or source/@bridge is an empty stringhttps://bugzilla.redhat.com/1256405β virt-builder created Fedora 22 32bit disk image cannot be updatedhttps://bugzilla.redhat.com/1256222β virt-p2v no GUI mode:error opening control connection to $ip:22:unexpected β¦rompthttps://bugzilla.redhat.com/1251909β Option -oa preallocated -of qcow2 of virt-v2v didn't work efficientlyhttps://bugzilla.redhat.com/1250715β v2v: spaces need to be escaped as %20 in pathshttps://bugzilla.redhat.com/1248678β Close all incoming ports on virt-p2v ISOhttps://bugzilla.redhat.com/1246882β man virt-customize shows synopsis twicehttps://bugzilla.redhat.com/1242853β mount-loop failed to setup loop device: No such file or directoryhttps://bugzilla.redhat.com/1237136β BUG: unable to handle kernel NULL pointer dereference at <addr> in function __blkg_lookuphttps://bugzilla.redhat.com/1230412β virt-v2v should ignore bogus kernel entries in grub confighttps://bugzilla.redhat.com/1229119β Unrelated info in fstab makes virt-v2v fail with unclear error infohttps://bugzilla.redhat.com/1227609β virt-p2v: Using "Back" button causes output list to be repopulated multiple timeshttps://bugzilla.redhat.com/1225789β Wrong video driver is installed for rhel5.11 guest after conversion to libvirthttps://bugzilla.redhat.com/1204131β RFE: virt-builder creates qcow v3 images, add build option for qcow v2https://bugzilla.redhat.com/1176801β File /etc/sysconfig/kernel isn't updated when convert XenPV guest with regular kernel installedhttps://bugzilla.redhat.com/1174551β "lstatnslist" and "lstatlist" don't give an error if the API is used wronglyhttps://bugzilla.redhat.com/1168223β koji spin-livecd cannot build a working live CDhttps://bugzilla.redhat.com/1165785β mount-loop command fails: mount failed: Unknown error -1https://bugzilla.redhat.com/1164708β set-label can only set <=127 bytes for btrfs and <=126 bytes for ntfs filesystem which not meet the help message. Also for ntfs it should give a warning message when the length >128 byteshttps://bugzilla.redhat.com/1020216β libvirt fails to shut down domain: could not destroy libvirt domain: Requested operation is not valid: domain is not runninghttps://bugzilla.redhat.com/1011907β mount-loop failed to setup loop device: No such file or directory
okay that was a lot of bug links and honestly? iconic dedication. every single one of them survived the rewrite, not a crumb lost π
π¦ SEE ALSO π¦
Like, go read these next, bestie, they're the whole ecosystem:
guestfs-examples(1)guestfs-faq(1)guestfs-performance(1)guestfs-recipes(1)guestfs-testing(1)guestfs(3)guestfish(1)http://libguestfs.org/
β¨ AUTHOR β¨
Richard W.M. Jones π
π COPYRIGHT π
Copyright (C) 2009-2025 Red Hat Inc.
π LICENSE π
Okay so legal time, but it's actually good news:
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. no cap, that's the actual all-caps legal disclaimer, respect it π«‘ 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 π
Found something cursed? say it loud, report it.
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.
fr fr, paste the complete, unedited output. don't trim it, don't vibe-edit it, don't "clean it up" β the whole raw thing is the whole point π
and that's the page, bestie! π this was libguestfs-1.61.3 documentation, dated 2026-09-16, and you've officially been reading guestfs-rel...-notes-1.32(1). go forth and virtualize responsibly π§π
π¦ 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