We download the guestfs-tools from below git and compile a local version .
But when we did the test , please see below:
It is expected the qcow2 is resized to 2.2G , right ?
Any reason for why the disk size is not returned to host ?
Thanks a lot !
lifeng
-----Original Message-----
From: Richard W.M. Jones <rjones@redhat.com>
Sent: 2022年9月22日 21:00
To: Li, Feng F <feng.f.li@intel.com>
Cc: libguestfs@redhat.com
Subject: Re: can not get the virt-sparsify code in libguestfs ?
On Thu, Sep 22, 2022 at 11:48:17AM +0000, Li, Feng F wrote:
> 2)
https://libguestfs.org/virt-sparsify.1.html
>
> we downloaded the libguestfs (1.48-stable) library ,but after the
> configure and make, we did not found the virt-sparsify source code and
> binary file, would you please help see where to get the virt-sparsify
> source code for debug ?
virt-sparsify and some other tools were recently moved into a new
repository:
https://github.com/rwmjones/guestfs-tools
Most Linux distros already ship these tools. You shouldn't really need to compile it all from source yourself (although of course it is possible and you are welcome to try).
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones Read my programming and virtualization blog:
http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v