Displaying 20 results from an estimated 57 matches for "i_firmware".
2023 Mar 07
1
[V2V PATCH v2 3/5] convert: introduce "block_driver" convert option
...@ open Utils
module G = Guestfs
type options = {
+ block_driver : guestcaps_block_type;
keep_serial_console : bool;
ks : key_store;
network_map : Networks.t;
@@ -88,7 +89,7 @@ let rec convert dir options source =
(* Conversion. *)
let guestcaps =
do_convert g source inspect i_firmware
- options.keep_serial_console options.static_ips in
+ options.block_driver options.keep_serial_console options.static_ips in
g#umount_all ();
@@ -221,7 +222,8 @@ and do_fstrim g inspect =
) fses
(* Conversion. *)
-and do_convert g source inspect i_firmware keep_serial_console...
2023 Mar 10
1
[V2V PATCH v3 3/6] convert: introduce "block_driver" convert option
...@ open Utils
module G = Guestfs
type options = {
+ block_driver : guestcaps_block_type;
keep_serial_console : bool;
ks : key_store;
network_map : Networks.t;
@@ -88,7 +89,7 @@ let rec convert dir options source =
(* Conversion. *)
let guestcaps =
do_convert g source inspect i_firmware
- options.keep_serial_console options.static_ips in
+ options.block_driver options.keep_serial_console options.static_ips in
g#umount_all ();
@@ -221,7 +222,8 @@ and do_fstrim g inspect =
) fses
(* Conversion. *)
-and do_convert g source inspect i_firmware keep_serial_console...
2023 Mar 06
2
[PATCH v2v] convert: Allow preferred block driver to be specified on the command line
This is just an outline patch, only compile tested.
It doesn't make changes to virt-v2v-in-place, but those would be the
same as made in v2v/v2v.ml.
It reuses the existing Types.guestcaps_block_type which is a bit ugly
but fairly practical.
I've made the change to the documentation, but it needs a test.
Rich.
2023 Mar 07
6
[V2V PATCH v2 0/5] Bring support for virtio-scsi back to Windows
Discussion on v1:
https://listman.redhat.com/archives/libguestfs/2023-February/030849.html
https://listman.redhat.com/archives/libguestfs/2023-March/030917.html
v1 -> v2:
* Adapt the patch suggested by Richard, splitting it up into 3:
https://listman.redhat.com/archives/libguestfs/2023-March/030975.html
Now we have "--block-driver" command line option which regulates the
2018 Dec 04
2
[PATCH FOR DISCUSSION ONLY 0/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
This patch is just for discussion. There are still a couple of issues
that I'm trying to fix.
One is that all of the test guests I have, even ones with static IPs,
have multiple interfaces, some using DHCP, so the conditions for
adding the Powershell script don't kick in. This makes testing very
awkward.
However a bigger issue is that I think the premise is wrong. In some
registries
2023 Mar 10
7
[V2V PATCH v3 0/6] Bring support for virtio-scsi back to Windows
Discussion on v2:
https://listman.redhat.com/archives/libguestfs/2023-March/030987.html
v2 -> v3:
* Patch 2/6 ("convert_windows: add Inject_virtio_win.Virtio_SCSI as a
possible block type"): omit "Inject_virtio_win." prefix in favor of type
inference. Add a short commit message body;
* Add tests/test-v2v-block-driver.sh testing the new "--block-driver"
2018 Dec 11
2
[PATCH v2 2/2] v2v: Copy static IP address information over for Windows guests (RHBZ#1626503).
v1 was here with much discussion:
https://www.redhat.com/archives/libguestfs/2018-December/msg00048.html
v2:
- Fix the case where there are multiple interfaces. Note this does
not preserve order correctly (see patch for comment on why that
is a hard problem).
- Preserve name servers.
This patch is still for discussion only. I'd like to see what might
be done to get this upstream
2016 Jun 10
0
Re: [PATCH 1/2] v2v: fill the list of the EFI system partitions
...ring list option;
I think what you really want is for the type to be "string list" (not
option), and for empty list to mean BIOS. (Assuming that UEFI cannot
have zero system partitions -- as far as I understand UEFI, that's
true).
Alternately you could write something like:
type i_firmware =
| BIOS
| UEFI of string list
...
i_firmware : i_firmware;
which is quite nice, I think, because it's explicit about the meaning.
> }
>
> let string_of_inspect inspect =
> @@ -341,7 +341,7 @@ i_uefi = %b
> inspect.i_package_management
> inspect.i_prod...
2023 Mar 10
1
[V2V PATCH v3 1/6] Revert "Remove guestcaps_block_type Virtio_SCSI"
...| 2 +-
output/openstack_image_properties.ml | 7 +++++++
7 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/convert/convert.ml b/convert/convert.ml
index 0aa0e5cd..084619c8 100644
--- a/convert/convert.ml
+++ b/convert/convert.ml
@@ -252,7 +252,7 @@ and do_convert g source inspect i_firmware keep_serial_console interfaces =
(* Did we manage to install virtio drivers? *)
if not (quiet ()) then (
match guestcaps.gcaps_block_bus with
- | Virtio_blk ->
+ | Virtio_blk | Virtio_SCSI ->
info (f_"This guest has virtio drivers installed.")
| IDE -&...
2023 Mar 07
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...| 2 +-
output/openstack_image_properties.ml | 7 +++++++
7 files changed, 20 insertions(+), 5 deletions(-)
diff --git a/convert/convert.ml b/convert/convert.ml
index 0aa0e5cd..084619c8 100644
--- a/convert/convert.ml
+++ b/convert/convert.ml
@@ -252,7 +252,7 @@ and do_convert g source inspect i_firmware keep_serial_console interfaces =
(* Did we manage to install virtio drivers? *)
if not (quiet ()) then (
match guestcaps.gcaps_block_bus with
- | Virtio_blk ->
+ | Virtio_blk | Virtio_SCSI ->
info (f_"This guest has virtio drivers installed.")
| IDE -&...
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...properties.ml | 7 +++++++
> 7 files changed, 20 insertions(+), 5 deletions(-)
>
> diff --git a/convert/convert.ml b/convert/convert.ml
> index 0aa0e5cd..084619c8 100644
> --- a/convert/convert.ml
> +++ b/convert/convert.ml
> @@ -252,7 +252,7 @@ and do_convert g source inspect i_firmware keep_serial_console interfaces =
> (* Did we manage to install virtio drivers? *)
> if not (quiet ()) then (
> match guestcaps.gcaps_block_bus with
> - | Virtio_blk ->
> + | Virtio_blk | Virtio_SCSI ->
> info (f_"This guest has virtio drivers i...
2023 Mar 07
1
[PATCH v2v] convert: Allow preferred block driver to be specified on the command line
...f36b486359 100644
>>> --- a/convert/convert_windows.ml
>>> +++ b/convert/convert_windows.ml
>>> @@ -38,7 +38,7 @@ module G = Guestfs
>>> * time the Windows VM is booted on KVM.
>>> *)
>>>
>>> -let convert (g : G.guestfs) _ inspect i_firmware _ static_ips =
>>> +let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
>>> (*----------------------------------------------------------------------*)
>>> (* Inspect the Windows guest. *)
>>>
>>> @@ -47,6 +47,16 @@ let co...
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...gt;> 7 files changed, 20 insertions(+), 5 deletions(-)
>>
>> diff --git a/convert/convert.ml b/convert/convert.ml
>> index 0aa0e5cd..084619c8 100644
>> --- a/convert/convert.ml
>> +++ b/convert/convert.ml
>> @@ -252,7 +252,7 @@ and do_convert g source inspect i_firmware keep_serial_console interfaces =
>> (* Did we manage to install virtio drivers? *)
>> if not (quiet ()) then (
>> match guestcaps.gcaps_block_bus with
>> - | Virtio_blk ->
>> + | Virtio_blk | Virtio_SCSI ->
>> info (f_"This gu...
2016 Nov 01
3
[PATCH v3] v2v: bootloaders: search grub config for all distributions
...ix path "/grub.cfg" then
+ Some Grub2
+ else if String.is_suffix path "/grub.conf" ||
+ String.is_suffix path "/menu.lst" then
+ Some Grub1
+ else
+ None
+
+(* Where to start searching for bootloaders. *)
+let bootloader_mountpoint = function
+ | { i_firmware = I_BIOS } -> "/boot"
+ | { i_firmware = I_UEFI _ } -> "/boot/efi/EFI"
+
let detect_bootloader (g : G.guestfs) inspect =
- let config_file, typ =
- let locations = [
- "/boot/grub2/grub.cfg", Grub2;
- "/boot/grub/grub.cfg", Grub2;
-...
2023 Mar 09
1
[V2V PATCH v2 1/1] convert_windows: add firstboot script to install drivers with pnputil
...| 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 6bc2343b..79050c66 100644
--- a/convert/convert_windows.ml
+++ b/convert/convert_windows.ml
@@ -295,9 +295,11 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
| Virt -> Virt
and configure_firstboot () =
- (* Note that pnp_wait.exe must be the first firstboot script as it
- * suppresses PnP for all following scripts.
+ (* Run the firstboot script with pnputil.exe before the one with
+ * pnp_wait.exe a...
2023 Mar 08
1
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
...| 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 6bc2343b..e15a5e62 100644
--- a/convert/convert_windows.ml
+++ b/convert/convert_windows.ml
@@ -295,9 +295,11 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
| Virt -> Virt
and configure_firstboot () =
- (* Note that pnp_wait.exe must be the first firstboot script as it
- * suppresses PnP for all following scripts.
+ (* Run the firstboot script with pnputil.exe before the one with
+ * pnp_wait.exe a...
2023 Mar 07
2
[V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
...;
---
convert/convert_windows.ml | 1 +
1 files changed, 1 insertions(+)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 9d8d271d..4f672487 100644
--- a/convert/convert_windows.ml
+++ b/convert/convert_windows.ml
@@ -273,6 +273,7 @@ let convert (g : G.guestfs) _ inspect i_firmware _ static_ips =
and of_virtio_win_block_type = function
| Inject_virtio_win.Virtio_blk -> Virtio_blk
+ | Inject_virtio_win.Virtio_SCSI -> Virtio_SCSI
| IDE -> IDE
and of_virtio_win_net_type = function
--
2.31.1
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
..., 20 insertions(+), 5 deletions(-)
>>>
>>> diff --git a/convert/convert.ml b/convert/convert.ml
>>> index 0aa0e5cd..084619c8 100644
>>> --- a/convert/convert.ml
>>> +++ b/convert/convert.ml
>>> @@ -252,7 +252,7 @@ and do_convert g source inspect i_firmware keep_serial_console interfaces =
>>> (* Did we manage to install virtio drivers? *)
>>> if not (quiet ()) then (
>>> match guestcaps.gcaps_block_bus with
>>> - | Virtio_blk ->
>>> + | Virtio_blk | Virtio_SCSI ->
>>>...
2023 Mar 08
1
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
...changed, 14 insertions(+), 2 deletions(-)
>
> diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
> index 6bc2343b..e15a5e62 100644
> --- a/convert/convert_windows.ml
> +++ b/convert/convert_windows.ml
> @@ -295,9 +295,11 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
> | Virt -> Virt
>
> and configure_firstboot () =
> - (* Note that pnp_wait.exe must be the first firstboot script as it
> - * suppresses PnP for all following scripts.
> + (* Run the firstboot script with pnputil.exe before the o...
2023 Mar 09
2
[V2V PATCH 1/1] convert_windows: add firstboot script to install drivers with pnputil
...gt;
> >> diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
> >> index 6bc2343b..e15a5e62 100644
> >> --- a/convert/convert_windows.ml
> >> +++ b/convert/convert_windows.ml
> >> @@ -295,9 +295,11 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
> >> | Virt -> Virt
> >>
> >> and configure_firstboot () =
> >> - (* Note that pnp_wait.exe must be the first firstboot script as it
> >> - * suppresses PnP for all following scripts.
> >> + (*...