search for: use_windows_registry

Displaying 3 results from an estimated 3 matches for "use_windows_registry".

2010 Mar 08
1
[PATCH virt-v2v] Remove useless use of 'use_windows_registry' flag.
...: http://et.redhat.com/~rjones/libguestfs/recipes.html -------------- next part -------------- >From ebb99ee14b5e44b5614ab1c9ca76482f9c81f7b0 Mon Sep 17 00:00:00 2001 From: Richard Jones <rjones at redhat.com> Date: Mon, 8 Mar 2010 16:20:10 +0000 Subject: [PATCH] Remove useless use of 'use_windows_registry' flag. It was effectively doing this: Sys::Guestfs::Lib::inspect_all_partitions (..., use_windows_registry => undef); That has no effect, and in any case I'm going to remove that flag from inspect_all_partitions in a future release of libguestfs. --- v2v/virt-v2...
2009 Jul 24
2
[PATCH] Initial drop of virt-v2v
...pt_options ) or pod2usage (2); pod2usage (1) if $help; if ($version) { @@ -173,70 +216,167 @@ if ($version) { } pod2usage (__"virt-v2v: no image or VM names given") if @ARGV == 0; -# XXX This should be an option. Disable for now until we get -# downloads working reliably. -my $use_windows_registry = 0; +# Get an appropriate MetadataReader +my $mdr = Sys::Guestfs::MetadataReader->instantiate($format_opt, + $module_options{$format_opt}); +if(!defined($mdr)) { + print STDERR __x("virt-v2v: {format} is not a valid metadata format",...
2009 Aug 03
1
[PATCH 1/2] Convert all TABs-as-indentation to spaces.
...|| - $g->is_file ("/boot.ini") || - $g->is_file ("/ntldr")) { - $r{fstype} = "ntfs"; # XXX this is a guess - $r{fsos} = "windows"; - $r{content} = "windows-root"; - $r{is_root} = 1; - _check_windows_root ($g, \%r, $use_windows_registry); - goto OUT; - } + $r{is_mountable} = 1; + eval { $g->mount_ro ($dev, "/") }; + if ($@) { + # It's not mountable, probably empty or some format + # we don't understand. + $r{is_mountable} = 0; + goto OUT; +...