search for: preload_arg

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

Did you mean: preload_args
2010 May 13
1
[PATCH] Fix import of RHEL 3 kvm guests using kmod-virtio
...GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -1381,10 +1381,10 @@ sub prepare_bootable # Backup the original initrd $g->mv("$initrd", "$initrd.pre-v2v"); - # Create a new initrd which preloads the required kernel modules - my @preload_args = (); + # Create a new initrd which probes the required kernel modules + my @module_args = (); foreach my $module (@modules) { - push(@preload_args, "--preload=$module"); + push(@module_args, "--with=$module"); }...
2010 Apr 22
2
[PATCH 1/2] Try to load the loop module before running mkinitrd
...5. Try to load it. Doesn't matter for other + # OSs if it doesn't exist, but RHEL 5 will complain: + # All of your loopback devices are in use. + eval { + $g->modprobe("loop"); + }; + $g->command(["/sbin/mkinitrd", @preload_args, $initrd, $version]); } -- 1.6.6.1
2009 Jul 24
2
[PATCH] Initial drop of virt-v2v
...e { + # Initrd as returned by grub is relative to /boot + $initrd = "/boot$initrd"; + + # Backup the original initrd + $g->mv("$initrd", "$initrd.pre-v2v"); + + # Create a new initrd which preloads the required drivers + my @preload_args = (); + foreach my $driver (@drivers) { + push(@preload_args, "--preload=$driver"); + } + + # mkinitrd reads configuration which we've probably changed + eval { + $g->aug_save(); + }; + + if($@) { + foreach...