Bug 655554 - Whole disk paths are not made canonical by virt-inspector
Summary: Whole disk paths are not made canonical by virt-inspector
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-21 16:29 UTC by Richard W.M. Jones
Modified: 2011-07-14 19:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-14 19:22:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2010-11-21 16:29:48 UTC
Description of problem:

The guest below is a Xen->KVM hand-migrated guest which uses whole
disks for filesystems (ie. a filesystem is directly on a block device).

The functions in (at least) virt-inspector to canonical disk names
cannot cope with this, so they leave the paths as /dev/vda etc instead
of rewriting as /dev/sda.

# virt-inspector2 GuestName
<operatingsystems>
  <operatingsystem>
    <root>/dev/vda</root>
    <name>linux</name>
    <arch>x86_64</arch>
    <distro>debian</distro>
    <product_name>5.0.6</product_name>
    <major_version>5</major_version>
    <minor_version>0</minor_version>
    <mountpoints>
      <mountpoint dev="/dev/vda">/</mountpoint>
      <mountpoint dev="/dev/vdb">/lib/modules</mountpoint>
    </mountpoints>
    <filesystems>
      <filesystem dev="/dev/vda">
...

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

1.6.2 (RHEL 6.1 candidate)

How reproducible:

Always for guests which use whole disks as filesystems.


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