File: guestfs-release-notes-1.46.pod

package info (click to toggle)
libguestfs 1%3A1.54.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 98,892 kB
  • sloc: ansic: 379,443; ml: 38,771; sh: 10,329; java: 9,631; cs: 6,377; haskell: 5,729; makefile: 5,178; python: 3,821; perl: 2,467; erlang: 2,461; ruby: 349; xml: 275; pascal: 257; javascript: 157; cpp: 10
file content (250 lines) | stat: -rw-r--r-- 6,840 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
=head1 NAME

guestfs-release-notes - libguestfs Release Notes

=head1 RELEASE NOTES FOR LIBGUESTFS 1.46

The big news in this release is that the virt tools like
L<virt-builder(1)>, L<virt-cat(1)>, L<virt-customize(1)>,
L<virt-df(1)>, and many more were moved to a new project.  The
temporary repository for the new guestfs-tools project is here:
L<https://github.com/rwmjones/guestfs-tools> while we set up a
permanent home for it on gitlab.  The tarballs containing the tools
are here: L<https://download.libguestfs.org/guestfs-tools/>

Spinning out all of the tools into a new repository has made
libguestfs a bit easier and simpler to build and manage, and allows us
to focus on just being the API.

Note that the tools L<guestfish(1)> (which is really a "shell API"),
L<guestmount(1)>, L<libguestfs-test-tool(1)> and L<virt-rescue(1)> are
still part of the libguestfs repo.

The not quite so big news is that we have moved away from FreeNode to
Libera Chat for IRC.  The new channel on Libera is called C<#guestfs>
(thanks Daniel Berrangé).

=head2 Language bindings

Libguestfs is now compatible with Go 1.16, and defines a Go module
(thanks Gianfranco Costamagna).

Memory leaks in Python APIs that returned structs are fixed (thanks 朱丹).

Python PyPi code has been relicensed to LGPLv2+ (from GPLv2+).

=head2 Inspection

Inspection of RPM guests now uses librpm instead of trying to parse
the Berkeley DB directly.  Since most RPM-based guests have replaced
BDB with sqlite this allows us to read these newer guests while
retaining compatibility with the older guests (thanks Panu Matilainen).

Inspection of RHEL 8+ with split /usr configuration has been made more
reliable.

Inspection of Windows Server 2022 should now work correctly (Yongkui
Guo).

=head2 API

=head3 New APIs

No new APIs were added in libguestfs 1.46.

=head3 Other API changes

The output of the C<guestfs_cap_get_file> API has changed slightly
because of changes in the underlying libcap.  This isn't strictly
speaking an API break because the new output is a still valid but more
compact description of file capabilities, but because it is different
it may cause problems for users of the API.

The C<guestfs_mkfs_btrfs> API now ignores the C<allocstart> parameter
since it was deprecated by btrfs 4.14.1 and later removed.

C<guestfs_isoinfo_*> APIs now directly parse the CD Primary Volume
Descriptor instead of using an external tool.  The APIs should appear
to work exactly the same (thanks Thomas Schmitt).

You can now force the appliance to use KVM or fail if not supported
(Sam Eiderman).

Because of a change to XFS in version 5, disabling lazy-counters no
longer works.  The API still works for earlier versions of XFS (Laszlo
Ersek).

=head2 Build changes

The build now uses and requires PCRE2 (instead of PCRE).

This version requires libvirt E<ge> 7.1.0, if libvirt is enabled.

gnulib is no longer bundled with libguestfs, making builds from git
much simpler.

Perl C<Sys::Virt> (libvirt bindings for Perl) are no longer required
by libguestfs.

The code has been compiled with both LTO and GCC I<-fanalyzer> and
many bugs and warnings fixed.

Allow projects like guestfs-tools and virt-v2v to be compiled with
locally built (but not installed) libguestfs (Laszlo Ersek).

Tests now run in parallel (many additional fixes by Laszlo Ersek).

Work around RAID0 regression in Linux 3.14/5.4 (Laszlo Ersek).

Support for RISC-V (Heinrich Schuchardt).

Support for building on Alma and Cloud Linux (Александр Кравченко).

Fix to compile with OCaml 4.12.

The tarball no longer includes the F<ChangeLog> file.  To get a
detailed changelog, please look at the upstream git repository.

Don't assume bash in the F<./configure> script (Martin Kletzander).

Fix F<./configure --with-distro> option (Alexandre Iooss).

Various fixes for qemu 6.1.

Fix creating appliance dependencies on Debian (Hilko Bengen).

Update appliance packages on SUSE and several other improvements to
the init script (Olaf Hering).

=head2 Internals

We now use the qemu / libvirt feature I<-cpu max> to select the best
CPU to run the appliance.  This should improve performance for things
like encrypted disks (Daniel Berrangé).

When passing the appliance filesystem UUID to supermin we now read it
directly out of the appliance instead of using the L<file(1)> program.
This is more reliable, especially as file often breaks or changed
its output.

The qemu I<-enable-fips> option is no longer used.  It was not needed
and has been deprecated by qemu.

On Fedora, pull in glibc-gconv-extra to fix the C<guestfs_syslinux>
API (Yongkui Guo).

We no longer use qemu's sga (Serial Graphics Adapter) option ROM,
instead using the equivalent seabios feature.

=head2 Bugs fixed

=begin comment

https_proxy= ./bugs-in-changelog.sh v1.44.0..

=end comment

=over 4

=item L<https://bugzilla.redhat.com/2002325>

Use -machine graphics=off instead of sga device

=item L<https://bugzilla.redhat.com/2001636>

[RFE] libguestfs: Add detection of AlmaLinux and CloudLinux

=item L<https://bugzilla.redhat.com/1997446>

osinfo is not correct when handling windows server 2022 image

=item L<https://bugzilla.redhat.com/1990720>

syslinux: failed to create ldlinux.sys

=item L<https://bugzilla.redhat.com/1985912>

The lstatns function has a memory leak. (python3)

=item L<https://bugzilla.redhat.com/1960217>

[Regression] ls: cannot read symbolic link after running guestmount

=item L<https://bugzilla.redhat.com/1949683>

virt-v2v: error: inspection could not detect the source guest (or physical  machine)

=item L<https://bugzilla.redhat.com/1938982>

Move libguestfs from PCRE to PCRE2

=item L<https://bugzilla.redhat.com/1930996>

[Regression] lvcreate fails to wipe signatures again

=item L<https://bugzilla.redhat.com/1930133>

Virt-v2v can't convert rhel8 guest whose usr partition is independent

=item L<https://bugzilla.redhat.com/1915646>

libguestfs-1.44.0 - guestfs appliance path broken

=item L<https://bugzilla.redhat.com/1911177>

virt-builder + virt-install creates a VM that cannot boot fedora 33

=item L<https://bugzilla.redhat.com/1766487>

libguestfs assumes rpmdb is in Berkeley DB format

=item L<https://bugzilla.redhat.com/1409024>

[Debian] Missing db_dump abort inspection

=back

=head1 SEE ALSO

L<guestfs-examples(1)>,
L<guestfs-faq(1)>,
L<guestfs-performance(1)>,
L<guestfs-recipes(1)>,
L<guestfs-testing(1)>,
L<guestfs(3)>,
L<guestfish(1)>,
L<http://libguestfs.org/>

=head1 AUTHORS

=begin comment

git shortlog -s v1.44.0..

=end comment

=over 4

=item Alexandre Iooss

=item Daniel P. Berrangé

=item Heinrich Schuchardt

=item Hilko Bengen

=item Laszlo Ersek

=item Martin Kletzander

=item Remi Collet

=item Richard W.M. Jones

=item Sam Eiderman

=back

=head1 COPYRIGHT

Copyright (C) 2009-2023 Red Hat Inc.