diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-04-05 12:44:34 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-04-05 20:01:15 +0100 |
commit | 9e7c6a548353bde925c16434711bcc6208038d83 (patch) | |
tree | b1b46b05e7319a36c38813a3b1eb15eb277ed948 /images | |
parent | 9b945cfa781a0f25c3b81239e2fcddceeede6e44 (diff) | |
download | libguestfs-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 'images')
-rw-r--r-- | images/guest-aux/windows-system.reg | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/images/guest-aux/windows-system.reg b/images/guest-aux/windows-system.reg index 87ae7796..6cb5d324 100644 --- a/images/guest-aux/windows-system.reg +++ b/images/guest-aux/windows-system.reg @@ -1,3 +1,9 @@ +[HKEY_LOCAL_MACHINE\SYSTEM\Select] +"Current"=dword:00000001 +"Default"=dword:00000001 +"Failed"=dword:00000000 +"LastKnownGood"=dword:00000002 + [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001] [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services] |