thaks for your help!

From: Richard W.M. Jones
Date: 2012-08-28 04:26
Subject: Re: [Libguestfs] libguestfs! help!
I realized that this code is missing the call to shutdown the disk and
detect write errors.  (Sorry about that -- the code was adapted from a
read-only example where this is not necessary).
>             // Unmount everything.
>             g.umount_all ();
After these two lines, add:
     g.shutdown ();
     g.close ();
Richard Jones, Virtualization Group, Red Hat
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.

Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies from
your system. Thank you.