Bug 672827 - virt-v2v should use core libguestfs inspection
Summary: virt-v2v should use core libguestfs inspection
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-v2v
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthew Booth
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 672824 672831 673066 674130 679354 732637
TreeView+ depends on / blocked
 
Reported: 2011-01-26 14:47 UTC by Richard W.M. Jones
Modified: 2011-08-23 07:34 UTC (History)
0 users

Fixed In Version:
Clone Of: 672824
: 672831 (view as bug list)
Environment:
Last Closed: 2011-04-13 20:34:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2011-01-26 14:47:12 UTC
The Perl inspection code in libguestfs (ie. Sys::Guestfs::Lib)
is obsolete and deprecated upstream.

Either: virt-v2v should move all this code into its own codebase
and maintain it there.

Or: [better] virt-v2v should be changed to use the core inspection
API.  See:
http://libguestfs.org/guestfs.3.html#inspection

+++ This bug was initially created as a clone of Bug #672824 +++

Description of problem:

https://www.redhat.com/archives/virt-tools-list/2011-January/thread.html#00058

If a Windows <= 2003 guest has the Windows Recovery Console
installed, then the perl inspection code detects this as an
extra instance of Windows.  Since virt-v2v does not work with
multiboot operating systems, the conversion fails with the
error:

 virt-v2v: multiboot operating systems are not supported by virt-v2v

Version-Release number of selected component (if applicable):

0.7.1(?)

How reproducible:

Always.

Steps to Reproduce:
1. Install Windows Recovery Console to the guest hard disk.
2. Try virt-v2v conversion.
3.
  
Actual results:

virt-v2v/libguestfs thinks the guest is multiboot and fails.

Expected results:

virt-v2v should ignore the Recovery Console partition and
convert only the main partition.  It should probably warn that
the Recovery Console has not been converted and must be
reinstalled.

Additional info:

Comment 1 Richard W.M. Jones 2011-03-24 11:48:33 UTC
Patch posted:

https://www.redhat.com/archives/libguestfs/2011-March/msg00122.html


Note You need to log in before you can comment on or make changes to this bug.