1guestfs-release-notes-1.40(1)Virtualization Supportguestfs-release-notes-1.40(1)
2
3
4

NAME

6       guestfs-release-notes - libguestfs Release Notes
7

RELEASE NOTES FOR LIBGUESTFS 1.40

9       These release notes only cover the differences from the previous
10       stable/dev branch split (1.38.0).  For detailed changelogs, please see
11       the git repository, or the ChangeLog file distributed in the tarball.
12
13   New features
14       New features in existing tools
15
16       Virt-inspector now displays the libosinfo short ID for guests (Pino
17       Toscano).
18
19       Guestfish -N will now generate 1G disks instead of 100M disks by
20       default.
21
22       Virt-resize supports f2fs filesystems (Pino Toscano).
23
24       libguestfs-test-tool now supports bash tab completion (Pino Toscano).
25
26       The --machine-readable option now supports sending output to files or
27       stdout/stderr.  This works uniformly across most OCaml-based virt
28       tools, specifically: virt-builder, virt-builder-repository, virt-dib,
29       virt-get-kernel, virt-resize, virt-sparsify, and virt-v2v (Pino
30       Toscano).
31
32       Virt-builder --uninstall option now works on SUSE (Sebastian Meyer).
33
34       Virt-builder now supports Windows.  We are not able to ship Windows
35       templates in the public repository for obvious licensing reasons, but
36       if you are an MSDN subscriber you may build your own.  See
37       https://rwmj.wordpress.com/2018/09/13/creating-windows-templates-for-virt-builder/
38
39       Many tools now support a --key option allowing you to pass in
40       decryption keys for filesystems stored in local files on the host
41       rather than having to feed them in over stdin (Pino Toscano).
42
43       virt-v2v and virt-p2v
44
45       New -o rhv-upload mode for directly uploading images to RHV, bypassing
46       the Export Storage Domain (Tomáš Golembiovský, Nir Soffer, Daniel Erez,
47       Pino Toscano).
48
49       New -o openstack mode for directly uploading images to OpenStack and
50       Cinder using OpenStack APIs.
51
52       Virt-v2v now has a general mechanism for input and output options: -io
53       and -oo.
54
55       Virt-v2v can now install the RHV tools or QEMU GA in guests (Tomáš
56       Golembiovský).
57
58       The huge manual has now been split into several smaller documents and
59       is more focused on helping users to accomplish specific v2v tasks.
60
61       Multiple improvements to the OVF metadata when converting to RHV (Tomáš
62       Golembiovský, Pino Toscano, Arik Hadas).
63
64       Virt-v2v can now convert Linux guests with split kernel packages,
65       especially Ubuntu 18.04 (Pino Toscano).
66
67       Virt-v2v old --password-file option has been replaced by -ip (the old
68       option remains for backwards compatibility).
69
70       Virt-v2v now preserves the VM Generation ID.
71
72       Virt-v2v has a new --mac option allowing specific NICs to be mapped
73       precisely to networks or bridges on the target.
74
75       New virt-v2v --print-estimate option to estimate the size of data that
76       virt-v2v will copy.
77
78       Virt-v2v is now usually able to remove open-vm-tools and VMware Tools
79       from the Linux guest during conversion (Pino Toscano).
80
81       Virt-v2v can now support UEFI conversions to RHV (Tomáš Golembiovský).
82
83       Virt-p2v now prefers you to shut down instead of rebooting the machine
84       after conversion has finished (Pino Toscano).
85
86       Virt-v2v now writes the libosinfo short ID to the libvirt metadata when
87       using -o local and -o libvirt output modes (Martin Kletzander).
88
89       Language bindings
90
91       OpenJDK 10+ is supported (Pino Toscano).
92
93       Java bindings fixed for Gentoo host (Martin Kletzander).
94
95       Inspection
96
97       Support Kali Linux (Pino Toscano).
98
99       When inspecting mountpoints, look for /etc/mdadm/mdadm.conf as well as
100       /etc/mdadm.conf (Nikolay Ivanets).
101
102       Improved support for OpenSUSE Tumbleweed (Pino Toscano).
103
104       Architectures and platforms
105
106       Miscellaneous macOS build fixes (Adam Robinson).
107
108       Other
109
110       Multiple documentation typos fixed (Yuri Chornoivan).
111
112   Security
113       See also guestfs-security(1).
114
115       CVE-2018-11806
116
117       Qemu's slirp (userspace networking) had several buffer overflows which
118       could be triggered from the guest or network side.
119
120   API
121       New APIs
122
123       "f2fs_expand"
124           Expand an f2fs filesystem (Pino Toscano).
125
126       "inspect_get_osinfo"
127           Get the libosinfo short ID for the inspected guest (Pino Toscano).
128
129       "lvm_scan"
130           This rescans all PVs, VGs and LVs, optionally activating them.
131
132       Other API changes
133
134       "part_get_mbr_part_type" was reimplemented in OCaml (Nikolay Ivanets).
135
136       "list_filesystems" now filters out MBR extended partitions (Nikolay
137       Ivanets).
138
139       "vgscan" has been deprecated.  Use the new "lvm_scan" API in
140       preference.
141
142   Build changes
143       The JSON library switched from yajl to Jansson ≥ 2.7 (Pino Toscano).
144
145       Support for The Sleuth Kit 4.5 (Pino Toscano).
146
147       Multiple improvements in the "./configure" script (Lin Ma).
148
149       More out-of-tree build fixes (Hilko Bengen).
150
151       Some work on reproducible builds (Bernhard M. Wiedemann).
152
153   Internals
154       lvmetad is now used unconditionally, and is started much earlier in the
155       appliance boot process.  This fixes support for certain PV types.
156
157       On Debian, dash is installed inside the appliance and in virt-rescue
158       (Pino Toscano).
159
160       The amount of RAM assigned to the appliance has been increased from
161       500M to 768M (on x86_64, other architectures have different limits).
162       This enables use of up to 255 disks when using recent Linux kernels.
163
164       Virt-v2v now models the source machine type (eg. i440FX, Q35 or virt).
165
166       Virt-p2v now generates configuration code automatically, also code for
167       parsing the kernel command line.
168
169       Use "LT_INIT" instead of "AC_PROG_LIBTOOL".
170
171       The OCaml "JSON" code for parsing and serializing has been unified into
172       a single abstract data type.
173
174       Most OCaml tools are now built using the PIC runtime.  This has a
175       performance penalty on i686, but is relatively free on other
176       architectures and has security benefits.
177
178       The direct backend now queries the qemu binary for availability of KVM,
179       instead of using a heuristic based on /dev/kvm (Andrea Bolognani).
180
181       Our "clever" libxml2 writer macros are now used consistently across all
182       parts of the code base.
183
184       Qemu dropped -nodefconfig without telling us.  The equivalent
185       -no-user-config option is now used instead.  Qemu also moved the
186       "serial" option from -drive to -device, again without any notice, and
187       this is also fixed.
188
189   Bugs fixed
190       https://bugzilla.redhat.com/1664310
191           [RHEL 7.6 LP] openstack output leaks passwords
192
193       https://bugzilla.redhat.com/1661038
194           virt-inspector fails with "error: int_of_string" on a Linux image
195           when /etc/fstab contains a partionless device
196
197       https://bugzilla.redhat.com/1651432
198           v2v - support for -insecure option to support OSP SSL connection
199           for VM migrations
200
201       https://bugzilla.redhat.com/1642044
202           [RFE] virt-p2v UI should give the option to shutdown after
203           conversion is finished
204
205       https://bugzilla.redhat.com/1634248
206           virt-v2v cannot convert opensuse15 guest
207
208       https://bugzilla.redhat.com/1624902
209           Fix rhev-apt command that virt-v2v runs in Windows guests on first
210           boot
211
212       https://bugzilla.redhat.com/1624878
213           Update v2v docs to describe support for SHA 2 certs required for
214           converting Windows 7 and 2008 R2 guests
215
216       https://bugzilla.redhat.com/1615885
217           Minor log issue of virt-v2v
218
219       https://bugzilla.redhat.com/1614276
220           VixDiskLib: VixDiskLib_Read: Read 4096 sectors at 57516160 failed.
221           Error 2 (Memory allocation failed. Out of memory.) (DiskLib error
222           802: NBD_ERR_INSUFFICIENT_RESOURCES) at 5240.
223
224       https://bugzilla.redhat.com/1612785
225           "warning: <target dev='sr0'> was ignored because the device name
226           could not be recognized" should be hidden since convert cdrom is
227           supported by virt-v2v
228
229       https://bugzilla.redhat.com/1611690
230           part_to_dev "/dev/sdp1" returns "/dev/sd" instead of "/dev/sdp"
231
232       https://bugzilla.redhat.com/1608131
233           inspection fails when swap partition in /etc/fstab has incorrect
234           UUID compared to actual swap partition
235
236       https://bugzilla.redhat.com/1605071
237           On machines where /dev/kvm exists but KVM doesn't work, libguestfs
238           will not fall back to TCG
239
240       https://bugzilla.redhat.com/1602353
241           virt-inspector can't inspect LUKS-encrypted RHEL7 guest image
242
243       https://bugzilla.redhat.com/1601943
244           Improve error "No module named ovirtsdk4" in v2v rhv-upload
245           conversion
246
247       https://bugzilla.redhat.com/1598715
248           Adding QXL device in OVF causes Cirrus Logic device to be added to
249           guest
250
251       https://bugzilla.redhat.com/1598350
252           RFE: virt-v2v should preserve <genid>
253
254       https://bugzilla.redhat.com/1596851
255           Transfer fails if local host is in maintenance mode
256
257       https://bugzilla.redhat.com/1596810
258           Transfer fails if local host belongs to another DC
259
260       https://bugzilla.redhat.com/1592468
261           v2v to RHV transfer fails with: error: [empty name]: cannot read
262           '//*/disksection' with value: null
263
264       https://bugzilla.redhat.com/1592061
265           virt-v2v convert rhel5.3 failure when executing rpm -ql
266           kernel-2.6.18-128.el5 command
267
268       https://bugzilla.redhat.com/1591789
269           p2v: error: XML error: CPU vendor specified without CPU model
270
271       https://bugzilla.redhat.com/1590220
272           Hide rhv-upload option in virt-p2v client
273
274       https://bugzilla.redhat.com/1588451
275           Don't use relative socket paths for NBD
276
277       https://bugzilla.redhat.com/1588088
278           RFE: Support for -o rhv-upload via Unix domain socket
279
280       https://bugzilla.redhat.com/1586198
281           ovirt-imageio-daemon times out during migration
282
283       https://bugzilla.redhat.com/1580309
284           virt-v2v rhel7.6 build can't convert guest to null with qemu-kvm
285           rhel7.5.z build
286
287       https://bugzilla.redhat.com/1580292
288           Virt-v2v rhel7.6 build can't convert guest with qemu-kvm rhel7.5.z
289           build
290
291       https://bugzilla.redhat.com/1579047
292           virt-builder: ubuntu-18.04 template has stray HTTP proxy configured
293           for apt
294
295       https://bugzilla.redhat.com/1575640
296           virt-builder: error: host cpu (x86_64) and guest arch (unknown) are
297           not compatible
298
299       https://bugzilla.redhat.com/1570407
300           virt-v2v -i ova gives checksum error when missing files are
301           mentioned in .mf
302
303       https://bugzilla.redhat.com/1567763
304           guestfsd: error: /Windows/Drivers/VirtIO: Read-only file system
305
306       https://bugzilla.redhat.com/1564983
307           The mount-vfs failed to mount the logical volume
308
309       https://bugzilla.redhat.com/1561828
310           RHV tools not properly installed in migrated Windows VM's causing
311           boot failure
312
313       https://bugzilla.redhat.com/1559027
314           virt-v2v does not honor --network with -o rhv-upload
315
316       https://bugzilla.redhat.com/1557273
317           [RFE] Upload images directly to oVirt (virt-v2v -o rhv-upload)
318
319       https://bugzilla.redhat.com/1544842
320           [RFE] Add libosinfo short-id to virt-inspector output
321
322       https://bugzilla.redhat.com/1544674
323           virt-inspector --help differs from manpage
324
325       https://bugzilla.redhat.com/1544227
326           RFE: recognize the Kali Linux distribution
327
328       https://bugzilla.redhat.com/1532224
329           Resume=/dev/sdaX can't be updated to resume=/dev/vdaX in rhel7
330           guest's grub file after v2v conversion
331
332       https://bugzilla.redhat.com/1530967
333           Change categories of "Guest Operating system management by VIX API"
334           in v2v man page
335
336       https://bugzilla.redhat.com/1527334
337           Various -it vddk -io vddk* options should be documented, removed or
338           fixed
339
340       https://bugzilla.redhat.com/1148012
341           Reverted: RFE: Allow qemu-bridge-helper to be used to implement
342           guestfs_set_network
343

SEE ALSO

345       guestfs-examples(1), guestfs-faq(1), guestfs-performance(1),
346       guestfs-recipes(1), guestfs-testing(1), guestfs(3), guestfish(1),
347       http://libguestfs.org/
348

AUTHOR

350       Richard W.M. Jones
351
353       Copyright (C) 2009-2020 Red Hat Inc.
354

LICENSE

356       This program is free software; you can redistribute it and/or modify it
357       under the terms of the GNU General Public License as published by the
358       Free Software Foundation; either version 2 of the License, or (at your
359       option) any later version.
360
361       This program is distributed in the hope that it will be useful, but
362       WITHOUT ANY WARRANTY; without even the implied warranty of
363       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
364       General Public License for more details.
365
366       You should have received a copy of the GNU General Public License along
367       with this program; if not, write to the Free Software Foundation, Inc.,
368       51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
369

BUGS

371       To get a list of bugs against libguestfs, use this link:
372       https://bugzilla.redhat.com/buglist.cgi?component=libguestfs&product=Virtualization+Tools
373
374       To report a new bug against libguestfs, use this link:
375       https://bugzilla.redhat.com/enter_bug.cgi?component=libguestfs&product=Virtualization+Tools
376
377       When reporting a bug, please supply:
378
379       •   The version of libguestfs.
380
381       •   Where you got libguestfs (eg. which Linux distro, compiled from
382           source, etc)
383
384       •   Describe the bug accurately and give a way to reproduce it.
385
386       •   Run libguestfs-test-tool(1) and paste the complete, unedited output
387           into the bug report.
388
389
390
391libguestfs-1.46.0                 2021-09-23     guestfs-release-notes-1.40(1)
Impressum