where /var/tmp/guest.img would be the disk image of some guest that you
want to convert (for testing only).

ADDING AN SSH IDENTITY

You can inject an SSH identity (private key) file to the image using the
--inject-ssh-identity option.

First create a key pair. It must have an empty passphrase:

ssh-keygen -t rsa -N '' -f id_rsa

This creates a private key ("id_rsa") and a public key ("id_rsa.pub")
pair. The public key should be appended to the "authorized_keys" file on
the virt-v2v conversion server (usually to "/root/.ssh/authorized_keys").

The private key should be injected into the disk image and then discarded:

virt-p2v-make-disk [...] --inject-ssh-identity id_rsa
rm id_rsa

When booting virt-p2v, specify the URL of the injected file like this: