[Libguestfs] Why libguestfs guest exist exceptionally?

Richard W.M. Jones rjones at redhat.com
Sun Sep 28 10:26:26 UTC 2014


On Sun, Sep 28, 2014 at 04:30:37PM +0800, Zhi Yong Wu wrote:
> HI,
> 
> On a RHEL5 box, i tried to directly run guest which was issued by
> libguestfs virt-xxx commands as below. But after some minutes, it
> exited exceptionally.
> 
> Does anyone also hit the issue or know the reason?

As it says in the error message itself:

> Failed to connect to virtio-serial channel.
> 
> This is a fatal error and the appliance will now exit.
> 
> Usually this error is caused by either QEMU or the appliance
> kernel not supporting the vmchannel method that the
> libguestfs library chose to use.  Please run
> 'libguestfs-test-tool' and provide the complete, unedited
> output to the libguestfs developers, either in a bug report
> or on the libguestfs redhat com mailing list.

Which version of libguestfs is this?  I think you'll have no hope of
getting upstream libguestfs to run on RHEL 5.  There is a branch
('oldlinux') which may still work:

https://github.com/libguestfs/libguestfs/commits/oldlinux

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html




More information about the Libguestfs mailing list