Following is the output of test tool
# libguestfs-test-tool
===== Test starts here =====
LIBGUESTFS_QEMU=/tmp/qemu.wrapper
LIBGUESTFS_DEBUG=1
new guestfs handle 0x116ac80
library version: 1.9.10
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_memsize: 500
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_qemu: /tmp/qemu.wrapper
guestfs_get_verbose: 1
Launching appliance, timeout set to 120 seconds.
[00000ms] febootstrap-supermin-helper --verbose -f checksum '/usr/lib64/guestfs/supermin.d' x86_64
supermin helper [00000ms] whitelist = (not specified), host_cpu = x86_64, kernel = (null), initrd = (null), appliance = (null)
supermin helper [00000ms] inputs[0] = /usr/lib64/guestfs/supermin.d
checking modpath /lib/modules/2.6.18-194.el5 is a directory
picked vmlinuz-2.6.18-194.el5 because modpath /lib/modules/2.6.18-194.el5 exists
supermin helper [00000ms] finished creating kernel
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/base.img
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/daemon.img
supermin helper [00001ms] visiting /usr/lib64/guestfs/supermin.d/hostfiles
supermin helper [00055ms] visiting /usr/lib64/guestfs/supermin.d/init.img
supermin helper [00208ms] finished creating appliance
[00215ms] begin testing qemu features
[00236ms] finished testing qemu features
[00236ms] /tmp/qemu.wrapper \
-drive file=/tmp/libguestfs-test-tool-sda-uJh9of,cache=off,format=raw,if=virtio \
-drive file=/tmp/libguestfs-test-tool-iso-AZrF4K,snapshot=on,format=raw,if=virtio \
-nodefaults \
-nographic \
-m 500 \
-no-reboot \
-no-hpet \
-device virtio-serial \
-serial stdio \
-chardev socket,path=/tmp/libguestfs2dlHJJ/sock,id=channel0 \
-device virtserialport,chardev=channel0,name=org.libguestfs.channel.0 \
-kernel /var/tmp/.guestfs-0/kernel.13124accept_from_daemon: 0x116ac80 g->state = 1
\
-initrd /var/tmp/.guestfs-0/initrd.13124 \
-append 'panic=1 console=ttyS0 udevtimeout=300 noapic acpi=off printk.time=1 cgroup_disable=memory selinux=0 guestfs_verbose=1 TERM=xterm ' \
-drive file=/var/tmp/.guestfs-0/root.13124,snapshot=on,if=virtio,cache=writeback
qemu: could not load PC BIOS 'bios.bin'
recv_from_daemon: 0x116ac80 g->state = 1, size_rtn = 0x7fff807f395c, buf_rtn = 0x7fff807f3920
libguestfs: error: unexpected end of file when reading from daemon
child_cleanup: 0x116ac80: child process died
libguestfs-test-tool: failed to launch appliance
closing guestfs handle 0x116ac80 (state 0)
On Tue, Oct 11, 2011 at 06:39:24PM +0530, vipul borikar wrote:... and libguestfs-test-tool output is ...? Please read the README
> I installed the qemu from source and wrote a wrapper script is given in doc.
>
> # virt-list-partitions vm01.scilab
>
> qemu: could not load PC BIOS 'bios.bin'
file all the way to the end. It explains how to test this and how to
collect enough information to diagnose problems.
http://libguestfs.org/download/binaries/rhel5-packages/README.txt
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v