Displaying 4 results from an estimated 4 matches for "system_filenam".
Did you mean:
system_filename
2010 May 06
1
[PATCH v2v] Pre-convert Windows guests.
...ip-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 $devices = shift;
+ my $config = shift;
+
+ # Locate and download the system registry.
+ my $system_filename;
+ eval {
+ $system_filename = "/windows/system32/config/system";
+ $system_filename = $g->case_sensitive_path ($system_filename);
+ $g->download ($system_filename, $tmpdir . "/system");
+ };
+ if ($@) {
+ die (user_message (__x"C...
2010 May 26
1
[PATCH] Fix error in Converter::Windows when there is no transfer iso
...ee http://rwmj.wordpress.com/2010/04/30/tip-install-a-device-driver-in-a-windows-vm/
@@ -206,7 +195,6 @@ sub _add_viostor_to_registry
my $desc = shift;
my $devices = shift;
my $config = shift;
- my $transfer_mount = shift;
# Locate and download the system registry.
my $system_filename;
@@ -305,7 +293,6 @@ sub _add_service_to_registry
my $desc = shift;
my $devices = shift;
my $config = shift;
- my $transfer_mount = shift;
# Locate and download the system registry.
my $system_filename;
@@ -363,13 +350,12 @@ sub _upload_viostor
my $desc = shift;...
2010 Aug 16
1
[PATCH] Install VirtIO storage and network drivers in Windows
...mpdir, $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", $system_filename);
}
+# We copy the VirtIO drivers to a directory on the guest and add this directory
+# to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\DevicePath so that it will
+# be searched automatically when automatically installing drivers.
+sub _prepare_virtio_drivers
+{
+ my $g = shift;
+ my $t...
2010 May 26
1
[PATCH] Windows: Display an error containing all missing when any are missing
...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
my $devices = shift;
my $config = shift;
- my $driverpath = "/windows/system32/drivers";
- $driverpath = $g->case_sensitive_path (...