Ok now i changed the wrapper to pint to bios file :

#!/bin/sh
qemudir=/opt/qemu/
exec $qemudir/bin/qemu-system-x86_64 -L /opt/qemu/share/qemu/ "$@"

The error is gone.

Then it was giving error of virtio-serial not supported error. I was using qemu 0.12.5 version.
So installed 0.13.0 which  is having virtio-serial support ( i guess) .

Now its giving me some other error. I have attached the output of libguestfs-test-tool .

On Wed, Oct 12, 2011 at 2:54 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
On Wed, Oct 12, 2011 at 11:02:51AM +0530, vipul borikar wrote:
> LIBGUESTFS_QEMU=/tmp/qemu.wrapper
[...]
> [00236ms] /tmp/qemu.wrapper \
[...]
> qemu: could not load PC BIOS 'bios.bin'

Your qemu wrapper is not working for some reason.  There should be a
'-L' option being passed to qemu, to a directory that contains
'bios.bin', but one of those things isn't happening.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



--
Thanks 

Vipul Borikar
"Our task must be to free ourselves...by widening our circle of compassion to embrace all living creatures and the whole of nature and its beauty."