search for: _add_viostor_to_registry

Displaying 7 results from an estimated 7 matches for "_add_viostor_to_registry".

2010 May 26
1
[PATCH] Fix error in Converter::Windows when there is no transfer iso
...->list_devices(); - my $transfer = $devices[$#devices]; - - my $transfer_mount = $g->mkdtemp ("/temp/transferXXXXXX"); - $g->mount_ro ($transfer, $transfer_mount); - - _upload_viostor ($g, $tmpdir, $desc, $devices, $config, - $transfer_mount); - _add_viostor_to_registry ($g, $tmpdir, $desc, $devices, $config, - $transfer_mount); - _upload_service ($g, $tmpdir, $desc, $devices, $config, - $transfer_mount); - _add_service_to_registry ($g, $tmpdir, $desc, $devices, $config, - $transfe...
2010 Oct 19
1
[PATCH] Fix Windows conversion when ControlSet001 isn't the CurrentControlSet
...++++----------- 1 files changed, 16 insertions(+), 11 deletions(-) diff --git a/lib/Sys/VirtV2V/Converter/Windows.pm b/lib/Sys/VirtV2V/Converter/Windows.pm index bec1d60..29f5cd7 100644 --- a/lib/Sys/VirtV2V/Converter/Windows.pm +++ b/lib/Sys/VirtV2V/Converter/Windows.pm @@ -217,24 +217,29 @@ sub _add_viostor_to_registry my $h = Win::Hivex->open ($tmpdir . "/system", write => 1) or die "open system hive: $!"; + # Get the 'Current' ControlSet. This is normally 001, but not always. + my $select = $h->node_get_child($h->root(), 'Select'); + my $c...
2011 Jan 25
1
[PATCH] Fix a Windows conversion error when C:\Temp exists in the guest
...# Note: disks are already mounted by main virt-v2v script. - # Create directory to store firstboot service temporarily. - eval { $g->mkdir ("/temp"); }; - eval { $g->mkdir ("/temp/v2v"); }; - _upload_files ($g, $tmpdir, $desc, $devices, $config); _add_viostor_to_registry ($g, $tmpdir, $desc, $devices, $config); _add_service_to_registry ($g, $tmpdir, $desc, $devices, $config); @@ -451,9 +447,20 @@ sub _upload_files $g->cp (File::Spec->catfile($files{virtio}, 'viostor.sys'), $g->case_sensitive_path ("/windows/system32/driv...
2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
...er/Windows.pm @@ -23,6 +23,7 @@ use warnings; use Carp qw(carp); use File::Temp qw(tempdir); use Data::Dumper; +use Encode qw(encode decode); use IO::String; use XML::DOM; use XML::DOM::XPath; @@ -187,6 +188,7 @@ sub _preconvert _upload_files ($g, $tmpdir, $desc, $devices, $config); _add_viostor_to_registry ($g, $tmpdir, $desc, $devices, $config); _add_service_to_registry ($g, $tmpdir, $desc, $devices, $config); + _prepare_virtio_drivers ($g, $tmpdir, $desc, $devices, $config); } # See http://rwmj.wordpress.com/2010/04/30/tip-install-a-device-driver-in-a-windows-vm/ @@ -345,6 +347,81 @@ su...
2010 May 26
1
[PATCH] Windows: Display an error containing all missing when any are missing
...Sys/VirtV2V/Converter/Windows.pm @@ -181,9 +181,8 @@ sub _preconvert eval { $g->mkdir ("/temp"); }; eval { $g->mkdir ("/temp/v2v"); }; - _upload_viostor ($g, $tmpdir, $desc, $devices, $config); + _upload_files ($g, $tmpdir, $desc, $devices, $config); _add_viostor_to_registry ($g, $tmpdir, $desc, $devices, $config); - _upload_service ($g, $tmpdir, $desc, $devices, $config); _add_service_to_registry ($g, $tmpdir, $desc, $devices, $config); } @@ -343,7 +342,7 @@ sub _add_service_to_registry $g->upload ($tmpdir . "/system", $system_filename);...
2010 May 06
1
[PATCH v2v] Pre-convert Windows guests.
...ady mounted by main virt-v2v script. + + # Create directory to store firstboot service temporarily. + eval { $g->mkdir ("/temp"); }; + eval { $g->mkdir ("/temp/v2v"); }; + + $self->_upload_viostor ($g, $tmpdir, $vmm, $desc, $devices, $config); + $self->_add_viostor_to_registry ($g, $tmpdir, $vmm, $desc, $devices, $config); + $self->_upload_service ($g, $tmpdir, $vmm, $desc, $devices, $config); + $self->_add_service_to_registry ($g, $tmpdir, $vmm, $desc, $devices, $config); +} + +# See http://rwmj.wordpress.com/2010/04/30/tip-install-a-device-driver-in-a-windo...
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,