search for: configure_kernel

Displaying 15 results from an estimated 15 matches for "configure_kernel".

Did you mean: _configure_kernel
2018 Feb 27
5
[PATCH] v2v: remove MAC address related information
...nux.ml b/v2v/convert_linux.ml index b273785e6..8bba74786 100644 --- a/v2v/convert_linux.ml +++ b/v2v/convert_linux.ml @@ -88,6 +88,8 @@ let convert (g : G.guestfs) inspect source output rcaps = unconfigure_kudzu (); unconfigure_prltools (); + sysprep_networking(); + let kernel = configure_kernel () in if output#keep_serial_console then ( @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = msg ) + and sysprep_networking () = + if family = `RHEL_family then + (* Remove HWADDR=... entries from ifcfg-* files. *) + let paths =...
2019 Sep 19
3
[PATCH 0/2] v2v: do not try to re-install qemu-guest-agent
In case qemu-guest-agent is already installed in the guest, do not try to install it again from the RHV Tools ISO. Pino Toscano (2): v2v: linux: install linux tools after unconfigurations v2v: linux: do not install qemu-guest-agent if already installed v2v/convert_linux.ml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) -- 2.21.0
2016 Jun 11
0
Re: [PATCH 2/2] v2v: linux: uninstall Parallels tools
...made by prltools uninst. *) > + Linux.augeas_reload g > + with > + G.Error msg -> > + warning (f_"Parallels tools was detected, but uninstallation failed. The error message was: %s (ignored)") > + msg > + ) > + > and configure_kernel () = > (* Previously this function would try to install kernels, but we > * don't do that any longer. > @@ -1414,6 +1428,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = > unconfigure_vmware (); > unconfigure_citrix (); > unc...
2018 Feb 27
0
Re: [PATCH] v2v: remove MAC address related information
...aps = > unconfigure_kudzu (); > unconfigure_prltools (); > > + sysprep_networking(); The function name is a bit obscure. How about this? remove_network_ifcfg_hwaddr_entries (); Also needs a space between the function name and the parentheses. > let kernel = configure_kernel () in > > if output#keep_serial_console then ( > @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = > msg > ) > > + and sysprep_networking () = > + if family = `RHEL_family then > + (* Remove HWADDR=... entri...
2010 Feb 18
1
[PATCH] Converter: Remove argument checking from internal functions
...defined($dom); - die("remap_block_devices called without desc argument") - unless defined($desc); - die("remap_block_devices called without virtio argument") - unless defined($virtio); my %map = (); @@ -167,12 +159,6 @@ sub _remap_block_devices sub _configure_kernel_modules { my ($guestos, $desc, $virtio) = @_; - die("configure_kernel_modules called without guestos argument") - unless defined($guestos); - die("configure_kernel_modules called without desc argument") - unless defined($desc); - die("configure_...
2018 Feb 27
1
Re: [PATCH] v2v: remove MAC address related information
...ysprep_networking(); > > The function name is a bit obscure. How about this? > > remove_network_ifcfg_hwaddr_entries (); Maybe too long to my taste, but sure, why not. > > Also needs a space between the function name and the parentheses. > > > let kernel = configure_kernel () in > > > > if output#keep_serial_console then ( > > @@ -452,6 +454,21 @@ let convert (g : G.guestfs) inspect source output rcaps = > > msg > > ) > > > > + and sysprep_networking () = > > + if family = `RHEL_family the...
2017 Apr 05
7
[PATCH 0/6] v2v: Add drivers for virtio-rng, balloon, pvpanic.
Yaniv pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1438794 that virt-v2v both doesn't install the virtio-rng driver for Windows, and doesn't give the guest a virtio-rng PCI device either. There are two problems here: Firstly the Windows virtio-rng driver isn't included in the exploded tree (/usr/share/virtio-win) so it doesn't get copied into the guest. The solution
2019 Sep 19
0
[PATCH 2/2] v2v: linux: do not install qemu-guest-agent if already installed
...o.install_linux_tools g inspect + let has_qemu_guest_agent = + List.exists ( + fun { G.app2_name = name } -> + name = "qemu-guest-agent" + ) inspect.i_apps in + if not has_qemu_guest_agent then + Windows_virtio.install_linux_tools g inspect and configure_kernel () = (* Previously this function would try to install kernels, but we -- 2.21.0
2017 Apr 05
9
[PATCH v2 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1 was posted here: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html v1 -> v2: - Add support for -o glance. - Add support for -o qemu. - Fix the -o libvirt support for balloon as pointed out by Dan. - Fix a test failure caused by changing libvirt XML output. Rich.
2017 Apr 06
9
[PATCH v3 0/8] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html v2 -> v3: - Fix Xen PV-only kernel detection. Rich.
2017 Feb 22
0
[PATCH 1/4] v2v: Pass output object into the conversion module.
...------------------------------*) (* Inspect the guest first. We already did some basic inspection in * the common v2v.ml code, but that has to deal with generic guests @@ -1005,7 +1005,7 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps = let kernel, virtio = configure_kernel () in - if keep_serial_console then ( + if output#keep_serial_console then ( configure_console (); bootloader#configure_console (); ) else ( diff --git a/v2v/convert_windows.ml b/v2v/convert_windows.ml index e259c22..36f47c8 100644 --- a/v2v/convert_windows.ml +++ b/v2v/convert_win...
2017 Apr 06
12
[PATCH v4 0/9] v2v: Add drivers for virtio-rng, balloon, pvpanic.
v1: https://www.redhat.com/archives/libguestfs/2017-April/msg00031.html v2: https://www.redhat.com/archives/libguestfs/2017-April/msg00040.html v3: https://www.redhat.com/archives/libguestfs/2017-April/msg00051.html v3 -> v4: - Properly fix Xen PV-only kernel detection, and test it. Rich.
2017 Apr 06
0
[PATCH v4 3/9] v2v: linux: Replace 'ki_supports_virtio' field.
...ym53c8xx" ] in (* Move the old initrd file out of the way. Note that dracut/mkinitrd * will refuse to overwrite an old file so we have to do this. @@ -1002,7 +1005,6 @@ let rec convert (g : G.guestfs) inspect source output rcaps = unconfigure_prltools (); let kernel = configure_kernel () in - let virtio = kernel.ki_supports_virtio in if output#keep_serial_console then ( configure_console (); @@ -1021,12 +1023,12 @@ let rec convert (g : G.guestfs) inspect source output rcaps = let block_type = match rcaps.rcaps_block_bus with - | None -> if virtio then...
2009 Jul 24
2
[PATCH] Initial drop of virt-v2v
...ment") unless defined($guestos); + carp("configure called without dom argument") unless defined($dom); + carp("configure called without desc argument") unless defined($desc); + + configure_drivers($guestos, $desc); + configure_applications($guestos, $desc); + configure_kernels($guestos, $desc); + configure_metadata($dom, $desc); +} + +sub configure_drivers +{ + my ($guestos, $desc) = @_; + die("configure_drivers called without guestos argument") + unless defined($guestos); + die("configure_drivers called without desc argument") +...
2017 Feb 22
5
[PATCH 0/4] v2v: windows: Only try to install rhev-apt if the target is RHV (RHBZ#1161019).
The bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1161019 This makes a few other minor refactorings to the code. Rich.