X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=inspector%2Fvirt-inspector;h=4428ecda0c71c4a5676ef84a4512a14b4163dc75;hb=216557b1ebc013701e7474720bc1280f43e51bb1;hp=707825eeeb68168993f91d11cdf1e7dda9b893ec;hpb=ed6fc794c8a2f64f8b987137b54551f4380177f3;p=libguestfs.git diff --git a/inspector/virt-inspector b/inspector/virt-inspector index 707825e..4428ecd 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 the guest is Windows, I the -external program C 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 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); @@ -354,6 +351,7 @@ sub output_text_os print $os->{arch}, " " if exists $os->{arch}; print $os->{major_version} if exists $os->{major_version}; print ".", $os->{minor_version} if exists $os->{minor_version}; + print " (", $os->{product_name}, ")" if exists $os->{product_name}; print " "; print "on ", $os->{root_device}, ":\n"; @@ -447,6 +445,7 @@ sub output_xml_os foreach ( [ "name" => "os" ], [ "distro" => "distro" ], + [ "product_name" => "product_name" ], [ "arch" => "arch" ], [ "major_version" => "major_version" ], [ "minor_version" => "minor_version" ], @@ -848,12 +847,9 @@ L, L, L. -For Windows registry parsing we require the C program -from L. +=head1 AUTHORS -=head1 AUTHOR - -Richard W.M. Jones L +Richard W.M. Jones L Matthew Booth L