Hi John,
Looks good. I've attached a slightly modified patch:
- Don't need to define the WAIT_* timeout in the header file.
- Call set_conversion_error in the subroutine, so that the
real error can be propagated back to the user.
- Use memcmp instead of strncmp.
- Whitespace changes.
What do you think?
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v