[Libguestfs] guestfish hang when exec command.

Richard W.M. Jones rjones at redhat.com
Wed Sep 26 09:51:33 UTC 2012


On Wed, Sep 26, 2012 at 05:46:31PM +0800, xuanmao_001 wrote:
> Hi,
> I have some issues with libguestfs. I download the libguestfs-0.18.3 source code and read the README file. 
> it requested qemu >= 0.13, my qemu version is qemu-1.0.1
> requested kernel version >= 2.6.34, my kernel version is 3.1.4
> the most of requirement for compiling I reached. but I completed compiltion and executed command.
> the guestfish hang there.
> 
> the following was my operating steps:
> 
> tar -Jxvf appliance-<VERSION>.tar.xz
> Then copy all four files:
> 
> * kernel
> * initrd
> * root
> * README.fixed
> 
> into a directory somewhere, eg. /usr/local/lib/guestfs/appliance/
> 
> Then build libguestfs (>= 1.16.7 or >= 1.17.10) from source, disabling
> the normal appliance and daemon:
> 
>  ./configure --disable-appliance --disable-daemon
>  make
>  make install
> 
> Set LIBGUESTFS_PATH to the path where you unpacked these files, eg:
> 
> export LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance/
> 
> then executed command:
> virt-copy-out -d GuestName 'win:c:\windows\system32\config' .
> the command hang here.
> 
> Is there something going wrong? give me some help, thanks!

The build process looks fine.  However please run libguestfs-test-tool
in order to debug things:

  export LIBGUESTFS_PATH=/usr/local/lib/guestfs/appliance/
  libguestfs-test-tool

Post the *complete, unedited* output here.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora




More information about the Libguestfs mailing list