Displaying 20 results from an estimated 63 matches for "block_type".
Did you mean:
lock_type
2023 Mar 07
1
[COMMON PATCH v2 2/4] inject_virtio_win: add Virtio_SCSI to block_type
...diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 8d72c5d..cf078c0 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virti...
2023 Mar 10
1
[COMMON PATCH v3 2/4] inject_virtio_win: add Virtio_SCSI to block_type
...diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index ed63fa7..1f4a5c4 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virti...
2023 Feb 22
0
[COMMON PATCH 4/5] inject_virtio_win: add Virtio_SCSI to block_type
...diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index acb3a93..62f7710 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -51,7 +51,7 @@ type t = {
the user to select where they want to get drivers from. XXX *)
}
-type block_type = Virtio_blk | IDE
+type block_type = Virtio_blk | Virtio_SCSI | IDE
and net_type = Virtio_net | E1000 | RTL8139
and machine_type = I440FX | Q35 | Virt
diff --git a/mlcustomize/inject_virtio_win.mli b/mlcustomize/inject_virtio_win.mli
index 0ced02e..58169e1 100644
--- a/mlcustomize/inject_virti...
2016 Feb 09
0
[PATCH 3/4] v2v: take requested caps into account when converting
...console (g : G.guestfs) inspect source =
warning (f_"The display driver was updated to '%s', but X11 does not seem to be installed in the guest. X may not function correctly.")
video_driver
- and configure_kernel_modules virtio =
+ and configure_kernel_modules block_type net_type =
(* This function modifies modules.conf (and its various aliases). *)
(* Update 'alias eth0 ...'. *)
let paths = augeas_modprobe ". =~ regexp('eth[0-9]+')" in
- let net_device = if virtio then "virtio_net" else "e1000" in
+...
2023 Mar 10
4
[COMMON PATCH v3 0/4] Bring support for virtio-scsi back to Windows
...on on v2:
https://listman.redhat.com/archives/libguestfs/2023-March/030989.html
v2 -> v3:
* Patch 1/4 ("inject_virtio_win: match only vendor/device/revision"):
do not omit PCI Revision ID. Adjust commit message accordingly;
* Patch 2/4 ("inject_virtio_win: add Virtio_SCSI to block_type"):
add non-empty commit message body.
* Patch 4/4 ("inject_virtio_win: write the proper block controller PCI
ID to Win registry"): use nested matching instead of string comparison.
Discussion on v1
https://listman.redhat.com/archives/libguestfs/2023-February/030849.html
htt...
2016 Jul 01
4
[PATCH 0/2] v2v: fix setting custom modprobe options
Hi,
due to a broken discover_modpath function, and to a wrong block for a
match statement, the modprobe options for virtio/SCSI blocks where not
written at all.
This series provides a small refactor, and the fixes.
Thanks,
--
Pino Toscano (2):
v2v: fix and implify the internal Convert_linux:discover_modpath
v2v: fix priority of match in configure_kernel_modules
v2v/convert_linux.ml | 34
2016 Feb 09
7
[PATCH 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2023 Mar 07
4
[COMMON PATCH v2 0/4] Bring support for virtio-scsi back to Windows
...default.
* Adapt the patch suggested by Richard:
https://listman.redhat.com/archives/libguestfs/2023-March/030974.html
This introduces API for changing the order in which drivers are being
searched for. This API is used by v2v.
Andrey Drobyshev (2):
inject_virtio_win: add Virtio_SCSI to block_type
inject_virtio_win: write the proper block controller PCI ID to Win
registry
Richard W.M. Jones (1):
mlcustomize: Add accessors for block driver priority list
Roman Kagan (1):
inject_virtio_win: match only vendor/device
mlcustomize/inject_virtio_win.ml | 34 +++++++++++++++++++++------...
2016 Feb 20
0
[PATCH v2 3/4] v2v: take requested caps into account when converting
...console (g : G.guestfs) inspect source =
warning (f_"The display driver was updated to '%s', but X11 does not seem to be installed in the guest. X may not function correctly.")
video_driver
- and configure_kernel_modules virtio =
+ and configure_kernel_modules block_type net_type =
(* This function modifies modules.conf (and its various aliases). *)
(* Update 'alias eth0 ...'. *)
let paths = augeas_modprobe ". =~ regexp('eth[0-9]+')" in
- let net_device = if virtio then "virtio_net" else "e1000" in
+...
2023 Feb 22
6
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
Since commits b28cd1dc ("Remove requested_guestcaps / rcaps"), f0afc439
("Remove guestcaps_block_type Virtio_SCSI") support for installing
virtio-scsi driver is missing in virt-v2v. AFAIU plans and demands for
bringing this feature back have been out there for a while. E.g. I've
found a corresponding issue which is still open [1].
The code in b28cd1dc, f0afc439 was removed due to removi...
2020 Sep 15
2
virt-v2v: Virtio-Scsi patch
Hi,
I was trying to migrate some VM's to Virtio-SCSI block devices, as this
gives some advantages.
While checking the virt-v2v code, I found out that it supported
Virtio-SCSI, but some bits were missing.
In attachment a small patch that adds the missing bits :)
Best regards
Jean-Louis
2016 Feb 09
0
[PATCH 2/4] v2v: introduce requested guestcaps type
...nged, 45 insertions(+), 10 deletions(-)
diff --git a/v2v/types.ml b/v2v/types.ml
index 2cb67fb..ab27510 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -357,10 +357,29 @@ type guestcaps = {
gcaps_arch : string;
gcaps_acpi : bool;
}
+and requested_guestcaps = {
+ rcaps_block_bus : guestcaps_block_type option;
+ rcaps_net_bus : guestcaps_net_type option;
+ rcaps_video : guestcaps_video_type option;
+}
and guestcaps_block_type = Virtio_blk | IDE
and guestcaps_net_type = Virtio_net | E1000 | RTL8139
and guestcaps_video_type = QXL | Cirrus
+let string_of_block_type block_type =
+ (match bloc...
2016 Feb 20
0
[PATCH v2 2/4] v2v: introduce requested guestcaps type
...nged, 45 insertions(+), 10 deletions(-)
diff --git a/v2v/types.ml b/v2v/types.ml
index a082c37..821b7ec 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -361,10 +361,29 @@ type guestcaps = {
gcaps_arch : string;
gcaps_acpi : bool;
}
+and requested_guestcaps = {
+ rcaps_block_bus : guestcaps_block_type option;
+ rcaps_net_bus : guestcaps_net_type option;
+ rcaps_video : guestcaps_video_type option;
+}
and guestcaps_block_type = Virtio_blk | IDE
and guestcaps_net_type = Virtio_net | E1000 | RTL8139
and guestcaps_video_type = QXL | Cirrus
+let string_of_block_type block_type =
+ (match bloc...
2016 Feb 20
8
[PATCH v2 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2020 Sep 16
2
Re: virt-v2v: Virtio-Scsi patch
...gt; diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
>> index a871d754..a36cc21d 100644
>> --- a/v2v/convert_linux.ml
>> +++ b/v2v/convert_linux.ml
>> @@ -109,7 +109,7 @@ let convert (g : G.guestfs) inspect source_disks output rcaps _ =
>>
>> let block_type =
>> match rcaps.rcaps_block_bus with
>> - | None -> if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
>> + | None -> if kernel.ki_supports_virtio_scsi then Virtio_SCSI else if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
>>...
2023 Mar 10
1
[V2V PATCH v3 1/6] Revert "Remove guestcaps_block_type Virtio_SCSI"
...t_linux.ml
+++ b/convert/convert_linux.ml
@@ -1068,8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
(match block_type with
- | Virtio_blk ->
- let block_module = "virtio_blk" in
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | IDE ->...
2023 Mar 07
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...t_linux.ml
+++ b/convert/convert_linux.ml
@@ -1068,8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
(* Update 'alias scsi_hostadapter ...' *)
let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
(match block_type with
- | Virtio_blk ->
- let block_module = "virtio_blk" in
+ | Virtio_blk | Virtio_SCSI ->
+ let block_module =
+ match block_type with
+ | Virtio_blk -> "virtio_blk"
+ | Virtio_SCSI -> "virtio_scsi"
+ | IDE ->...
2016 Mar 11
6
[PATCH v3 0/5] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2023 Mar 13
1
[V2V PATCH v2 1/5] Revert "Remove guestcaps_block_type Virtio_SCSI"
...vert/convert_linux.ml
> @@ -1068,8 +1068,12 @@ let convert (g : G.guestfs) source inspect i_firmware keep_serial_console _ =
> (* Update 'alias scsi_hostadapter ...' *)
> let paths = augeas_modprobe ". =~ regexp('scsi_hostadapter.*')" in
> (match block_type with
> - | Virtio_blk ->
> - let block_module = "virtio_blk" in
> + | Virtio_blk | Virtio_SCSI ->
> + let block_module =
> + match block_type with
> + | Virtio_blk -> "virtio_blk"
> + | Virtio_SCSI -> "vi...
2016 Feb 09
3
Re: [PATCH 3/4] v2v: take requested caps into account when converting
...rec install_drivers g inspect systemroot root current_cs rcaps =
> (* Copy the virtio drivers to the guest. *)
> let driverdir = sprintf "%s/Drivers/VirtIO" systemroot in
> g#mkdir_p driverdir;
>
> if not (copy_drivers g inspect driverdir) then (
> + let block_type = match rcaps.rcaps_block_bus with
> + | None -> IDE
> + | Some block_type -> block_type in
> + let net_type = match rcaps.rcaps_net_bus with
> + | None -> RTL8139
> + | Some net_type -> net_ty...