diff options
Diffstat (limited to 'inspector')
-rw-r--r-- | inspector/example4.xml | 9 | ||||
-rwxr-xr-x | inspector/virt-inspector | 16 |
2 files changed, 11 insertions, 14 deletions
diff --git a/inspector/example4.xml b/inspector/example4.xml index 1c21eeda..7e853ab2 100644 --- a/inspector/example4.xml +++ b/inspector/example4.xml @@ -1,13 +1,16 @@ <operatingsystems> <operatingsystem> <name>windows</name> + <product_name>Microsoft Windows Server 2003</product_name> <arch>i386</arch> - <root>/dev/vda1</root> + <major_version>5</major_version> + <minor_version>2</minor_version> + <root>/dev/sda1</root> <mountpoints> - <mountpoint dev="/dev/vda1">/</mountpoint> + <mountpoint dev="/dev/sda1">/</mountpoint> </mountpoints> <filesystems> - <filesystem dev="/dev/vda1"> + <filesystem dev="/dev/sda1"> <type>ntfs</type> <content>windows-root</content> </filesystem> diff --git a/inspector/virt-inspector b/inspector/virt-inspector index e5c39907..a7a65146 100755 --- a/inspector/virt-inspector +++ b/inspector/virt-inspector @@ -164,13 +164,11 @@ my $windows_registry; =item B<--windows-registry> -If this item is passed, I<and> the guest is Windows, I<and> the -external program C<reged> is available (see SEE ALSO section), then we -attempt to parse the Windows registry. This allows much more -information to be gathered for Windows guests. +This flag is ignored for compatibility with earlier releases of the +software. -This is quite an expensive and slow operation, so we don't do it by -default. +In this version, if L<Win::Hivex(3)> is available, then we attempt to +parse information out of the Registry for any Windows guest. =back @@ -262,8 +260,7 @@ my @partitions = get_partitions ($g); # Now query each one to build up a picture of what's in it. my %fses = - inspect_all_partitions ($g, \@partitions, - use_windows_registry => $windows_registry); + inspect_all_partitions ($g, \@partitions); #print "fses -----------\n"; #print Dumper(\%fses); @@ -850,9 +847,6 @@ L<Sys::Guestfs::Lib(3)>, L<Sys::Virt(3)>, L<http://libguestfs.org/>. -For Windows registry parsing we require the C<reged> program -from L<http://home.eunet.no/~pnordahl/ntpasswd/>. - =head1 AUTHOR Richard W.M. Jones L<http://et.redhat.com/~rjones/> |