[Libguestfs] virt-df -a xxx.qcow2 failure, after about ten minutes , failed

thomas s_kuang at 163.com
Thu Dec 5 06:54:13 UTC 2019


yes,  this system tailor it's kernel ,reduce the  "CONFIG_VIRT_DRIVERS=y " ,this cause the vm fail to start .
after add the virtio driver config ,then recompile the kernel , libguestfs-test-tool run successfully .
 thanks for help !


           thomas.kuang .

 



 











At 2019-12-03 16:58:38, "Richard W.M. Jones" <rjones at redhat.com> wrote:
>On Mon, Dec 02, 2019 at 08:09:47PM +0800, thomas wrote:
>> [    0.000000] Linux version 3.10.0 (root at NSG) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Fri Nov 1 10:40:29 UTC 2019
>
>The kernel that fails isn't the Red Hat kernel, so I suppose it lacks
>the right drivers or has some different configuration which breaks
>libguestfs.
>
>You can tell libguestfs to use a different kernel by setting the
>SUPERMIN_KERNEL parameter and removing the /var/tmp/.guestfs-*
>directory between runs.  See the FAQ here:
>
>http://libguestfs.org/guestfs-faq.1.html#broken-kernel-or-trying-a-different-kernel
>
>For comparison the successful run is using the ordinary CentOS kernel:
>
>[    0.000000] Linux version 3.10.0-957.10.1.el7.x86_64 (mockbuild at kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) ) #1 SMP Mon Mar 18 15:06:45 UTC 2019
>
>Rich.
>
>-- 
>Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
>Read my programming and virtualization blog: http://rwmj.wordpress.com
>virt-df lists disk usage of guests without needing to install any
>software inside the virtual machine.  Supports Linux and Windows.
>http://people.redhat.com/~rjones/virt-df/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20191205/9d1e2056/attachment.htm>


More information about the Libguestfs mailing list