summaryrefslogtreecommitdiffstats
path: root/inspector/virt-inspector.rng
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-05 14:03:08 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-05 20:01:57 +0100
commit13d8963d8c0203e1f72c519e5acf79ebf7cccb4c (patch)
tree0699b86ada86e692a24294e7ca719d18c702e13e /inspector/virt-inspector.rng
parent9e7c6a548353bde925c16434711bcc6208038d83 (diff)
downloadlibguestfs-13d8963d8c0203e1f72c519e5acf79ebf7cccb4c.tar.gz
libguestfs-13d8963d8c0203e1f72c519e5acf79ebf7cccb4c.tar.xz
libguestfs-13d8963d8c0203e1f72c519e5acf79ebf7cccb4c.zip
New API: inspect-get-drive-mappings
This returns the drive mappings from the Windows Registry. virt-inspector displays the drive mappings, giving output similar to this: <drive_mappings> <drive_mapping name="C">/dev/sda2</drive_mapping> <drive_mapping name="E">/dev/sdb1</drive_mapping> </drive_mappings>
Diffstat (limited to 'inspector/virt-inspector.rng')
-rw-r--r--inspector/virt-inspector.rng13
1 files changed, 13 insertions, 0 deletions
diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng
index 7a822e68..669e8bc6 100644
--- a/inspector/virt-inspector.rng
+++ b/inspector/virt-inspector.rng
@@ -47,6 +47,7 @@
<ref name="mountpoints"/>
<ref name="filesystems"/>
+ <optional><ref name="drive_mappings"/></optional>
<optional><ref name="applications"/></optional>
</interleave>
@@ -83,6 +84,18 @@
</element>
</define>
+ <!-- drive mappings (for Windows) -->
+ <define name="drive_mappings">
+ <element name="drive_mappings">
+ <oneOrMore>
+ <element name="drive_mapping">
+ <attribute name="name"><text/></attribute>
+ <text/>
+ </element>
+ </oneOrMore>
+ </element>
+ </define>
+
<!-- applications installed -->
<define name="applications">
<element name="applications">