search for: _add_service_to_registry

Displaying 6 results from an estimated 6 matches for "_add_service_to_registry".

2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
...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 @@ sub _add_service_to_registry $g->upload ($tmpdir . "/system&...
2010 May 26
1
[PATCH] Windows: Display an error containing all missing when any are missing
...>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); } -sub _upload_viostor +sub _upload_files { my $g = shift; my $tmpdir = shift; @@ -351,39 +350,35 @@ sub _upload_viostor...
2010 May 26
1
[PATCH] Fix error in Converter::Windows when there is no transfer iso
...$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, - $transfer_mount); + _upload_viostor ($g, $tmpdir, $desc, $devices, $config); + _add_viostor_to_registry ($g, $tmpdir, $desc, $devices, $config); + _upload_service ($g, $tmpdir, $desc, $devices, $config); + _add_servi...
2011 Jan 25
1
[PATCH] Fix a Windows conversion error when C:\Temp exists in the guest
...# 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/drivers")); - # Copy other files into a temp directory - my $p...
2010 May 06
1
[PATCH v2v] Pre-convert Windows guests.
...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-windows-vm/ +sub _add_viostor_to_registry +{ + my $self = shift; + my $g = shift; + my $tmpdir = shift; + my $vmm = shift; + my $desc = shift; + my $dev...
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,