summaryrefslogtreecommitdiffstats
path: root/inspector/virt-inspector.rng
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-04-05 12:44:34 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-04-05 20:01:15 +0100
commit9e7c6a548353bde925c16434711bcc6208038d83 (patch)
treeb1b46b05e7319a36c38813a3b1eb15eb277ed948 /inspector/virt-inspector.rng
parent9b945cfa781a0f25c3b81239e2fcddceeede6e44 (diff)
downloadlibguestfs-9e7c6a548353bde925c16434711bcc6208038d83.tar.gz
libguestfs-9e7c6a548353bde925c16434711bcc6208038d83.tar.xz
libguestfs-9e7c6a548353bde925c16434711bcc6208038d83.zip
New API: inspect-get-windows-current-control-set
This returns the actual registry key corresponding to CurrentControlSet (eg. it might be "ControlSet001"). Previously the inspection code was hard-coding ControlSet001. Now we use the correct control set, and also make it available to callers through the API. This commit also updates the virt-dhcp-address example so it uses this new API. virt-inspector displays the current control set when available.
Diffstat (limited to 'inspector/virt-inspector.rng')
-rw-r--r--inspector/virt-inspector.rng2
1 files changed, 1 insertions, 1 deletions
diff --git a/inspector/virt-inspector.rng b/inspector/virt-inspector.rng
index 8d54facd..7a822e68 100644
--- a/inspector/virt-inspector.rng
+++ b/inspector/virt-inspector.rng
@@ -37,7 +37,7 @@
<element name="major_version"><text/></element>
<element name="minor_version"><text/></element>
<optional><element name="windows_systemroot"><text/></element></optional>
-
+ <optional><element name="windows_current_control_set"><text/></element></optional>
<optional><element name="package_format"><text/></element></optional>
<optional><element name="package_management"><text/></element></optional>
<optional><element name="format"><text/></element></optional>