- $ cp /var/lib/xen/images/rhel5gax32fv.img .
- $ make boot HDA=rhel5gax32fv.img
- qemu -m 512 -cdrom virt-p2v-0.1.iso -boot d -hda rhel5gax32fv.img
-
-
-TCP transport and network daemon
-----------------------------------------------------------------------
-
-The preferred transport is ssh, but if you cannot use this then there
-is an alternate TCP transport. (This transport is not encrypted).
-
-On the Xen host or staging server, install NetCat (the 'nc' command,
-in Fedora and RHEL the package is also called 'nc').
-
-Choose a free port number and make sure that it is not firewalled.
-
-Then run:
-
- nc -kl PORT > disks
-
-where PORT is replaced by the port number chosen above.
-
-After p2v has completed the 'disks' file will contain compressed
-images of one or more disks. There is a Perl script called
-virt-p2v-unpack which can unpack the file:
-
- virt-p2v-unpack disks