27 Aug
2012
27 Aug
'12
8:26 p.m.
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 (); 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