mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
daemon/inspect_fs_windows.ml: Add debugging when we start registry analysis
Add some debugging when we begin the process of analyzing the Windows registry of a guest.
This commit is contained in:
committed by
rwmjones
parent
e18bd72c8e
commit
5c7e15cfae
@@ -207,6 +207,12 @@ and check_windows_registry systemroot data =
|
||||
if Is.is_file system_hive then Some system_hive else None in
|
||||
data.windows_system_hive <- system_hive;
|
||||
|
||||
if verbose () then
|
||||
eprintf "check_windows_registry: software hive: %s\n\
|
||||
check_windows_registry: system hive: %s\n%!"
|
||||
(Option.value ~default:"None" software_hive)
|
||||
(Option.value ~default:"None" system_hive);
|
||||
|
||||
match software_hive, system_hive with
|
||||
| None, _ | Some _, None -> ()
|
||||
| Some software_hive, Some system_hive ->
|
||||
|
||||
Reference in New Issue
Block a user