[Libguestfs] [PATCH 0/4] virt-v2v: Convert RedHat.pm to Linux.pm

Mike Latimer mlatimer at suse.com
Thu Oct 31 20:14:03 UTC 2013


In preparation for an upcoming patch which adds support for SUSE guest
conversions, it makes sense to have an intermediate steps that changes the
RedHat.pm converter into a more generic Linux converter. The SUSE changes
will then be limited in scope to only what is required for SUSE support.

This series of patches accomplishes the following:

 - Renames RedHat.pm to Linux.pm
 - Modifies Linux.pm to be more generic, and ready for additional distribution
   support (such as SUSE)
 - Adds functionality to _remap_block_devices, to ensure root and resume 
   devices are updated in both grub legacy and grub2 environments
 - Allows for qxl or cirrus settings in LibVirtTarget.pm (based on passing
   guestcaps->{display} from the conversion.

I'll submit the SUSE-specific changes after we work through any issues raised
here.

Mike Latimer (4):
  Rename RedHat.pm to Linux.pm
  Make Linux.pm more generic
  Handle block remaps in grub and grub2 files
  Support multiple display types through guestcaps

 MANIFEST                                           |   2 +-
 lib/Sys/VirtConvert/Connection/LibVirtTarget.pm    |  14 +-
 .../VirtConvert/Converter/{RedHat.pm => Linux.pm}  | 225 ++++++++++++++++-----
 po/POTFILES.in                                     |   2 +-
 4 files changed, 185 insertions(+), 58 deletions(-)
 rename lib/Sys/VirtConvert/Converter/{RedHat.pm => Linux.pm} (92%)

-- 
1.8.1.4




More information about the Libguestfs mailing list