Displaying 15 results from an estimated 15 matches for "inject_virtio_win_drivers".
2023 Mar 06
1
[PATCH common] mlcustomize: Add accessors for block driver priority list
...y t = t.block_driver_priority
+let set_block_driver_priority t v = t.block_driver_priority <- v
let scsi_class_guid = "{4D36E97B-E325-11CE-BFC1-08002BE10318}"
let viostor_legacy_pciid = "VEN_1AF4&DEV_1001&SUBSYS_00021AF4&REV_00"
@@ -176,14 +183,13 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
else (
(* Can we install the block driver? *)
let block : block_type =
- let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in
let viostor_driver = try (
Some (
List.find (
fun driver_file...
2023 Mar 10
1
[COMMON PATCH v3 3/4] mlcustomize: Add accessors for block driver priority list
...block_driver_priority t = t.block_driver_priority
+let set_block_driver_priority t v = t.block_driver_priority <- v
let scsi_class_guid = "{4D36E97B-E325-11CE-BFC1-08002BE10318}"
let viostor_legacy_pciid = "VEN_1AF4&DEV_1001&REV_00"
@@ -176,14 +183,13 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
else (
(* Can we install the block driver? *)
let block : block_type =
- let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in
let viostor_driver = try (
Some (
List.find (
fun driver_file...
2023 Mar 07
4
[COMMON PATCH v2 0/4] 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:
* Drop the logic where default is switched to "vioscsi". Keep
virtio-blk as default.
* Adapt the patch suggested by Richard:
https://listman.redhat.com/archives/libguestfs/2023-March/030974.html
This
2023 Mar 10
4
[COMMON PATCH v3 0/4] Bring support for virtio-scsi back to Windows
Discussion 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
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...-win/virtio-win.iso).
[etc]
> > diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
> > index 62f7710..562f055 100644
> > --- a/mlcustomize/inject_virtio_win.ml
> > +++ b/mlcustomize/inject_virtio_win.ml
> > @@ -177,6 +177,11 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
> > (* Can we install the block driver? *)
> > let block : block_type =
> > let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in
> > + let viostor_drv_env = Sys.getenv_opt "VIOSTOR_DRIVER" i...
2023 Mar 07
2
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...irtio_win.ml | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 345fe32..922c1ab 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -207,10 +207,16 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
let target = sprintf "%s/system32/drivers/%s.sys"
t.i_windows_systemroot driver_name in
let target = g#case_sensitive_path target in
+ let installed_block_type, legacy_pciid, modern_pciid = (
+ if driver_na...
2023 Feb 22
0
[COMMON PATCH 5/5] inject_virtio_win: make virtio-scsi the default block driver
...tio_win.ml | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 62f7710..751a9b0 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -176,7 +176,8 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
else (
(* Can we install the block driver? *)
let block : block_type =
- let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in
+ (* First list item is the default driver. *)
+ let filenames = ["vioscsi"; "...
2023 Mar 10
1
[COMMON PATCH v3 1/4] inject_virtio_win: match only vendor/device/revision
...t viostor_legacy_pciid = "VEN_1AF4&DEV_1001&REV_00"
+let viostor_modern_pciid = "VEN_1AF4&DEV_1042&REV_01"
+let vioscsi_legacy_pciid = "VEN_1AF4&DEV_1004&REV_00"
+let vioscsi_modern_pciid = "VEN_1AF4&DEV_1048&REV_01"
let rec inject_virtio_win_drivers ({ g } as t) reg =
(* Copy the virtio drivers to the guest. *)
--
2.31.1
2023 Mar 10
2
[COMMON PATCH v3 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...virtio_win.ml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index eca0ad7..2a30b20 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -207,10 +207,15 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
let target = sprintf "%s/system32/drivers/%s.sys"
t.i_windows_systemroot driver_name in
let target = g#case_sensitive_path target in
+ let installed_block_type, legacy_pciid, modern_pciid =
+ match driver_n...
2023 Mar 07
1
[COMMON PATCH v2 1/4] inject_virtio_win: match only vendor/device
...048&SUBSYS_11001AF4&REV_01"
+let viostor_legacy_pciid = "VEN_1AF4&DEV_1001"
+let viostor_modern_pciid = "VEN_1AF4&DEV_1042"
+let vioscsi_legacy_pciid = "VEN_1AF4&DEV_1004"
+let vioscsi_modern_pciid = "VEN_1AF4&DEV_1048"
let rec inject_virtio_win_drivers ({ g } as t) reg =
(* Copy the virtio drivers to the guest. *)
--
2.31.1
2023 Mar 08
1
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...1 file changed, 9 insertions(+), 3 deletions(-)
>
> diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
> index 345fe32..922c1ab 100644
> --- a/mlcustomize/inject_virtio_win.ml
> +++ b/mlcustomize/inject_virtio_win.ml
> @@ -207,10 +207,16 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
> let target = sprintf "%s/system32/drivers/%s.sys"
> t.i_windows_systemroot driver_name in
> let target = g#case_sensitive_path target in
> + let installed_block_type, legacy_pciid, modern_pciid = (
>...
2023 Mar 09
1
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...ertions(+), 3 deletions(-)
>>
>> diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
>> index 345fe32..922c1ab 100644
>> --- a/mlcustomize/inject_virtio_win.ml
>> +++ b/mlcustomize/inject_virtio_win.ml
>> @@ -207,10 +207,16 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
>> let target = sprintf "%s/system32/drivers/%s.sys"
>> t.i_windows_systemroot driver_name in
>> let target = g#case_sensitive_path target in
>> + let installed_block_type, legacy_pciid, mode...
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
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...esume it would be
much easier to implement. Smth like:
> diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
> index 62f7710..562f055 100644
> --- a/mlcustomize/inject_virtio_win.ml
> +++ b/mlcustomize/inject_virtio_win.ml
> @@ -177,6 +177,11 @@ let rec inject_virtio_win_drivers ({ g } as t) reg =
> (* Can we install the block driver? *)
> let block : block_type =
> let filenames = ["virtio_blk"; "vrtioblk"; "viostor"] in
> + let viostor_drv_env = Sys.getenv_opt "VIOSTOR_DRIVER" in
> + let fi...
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
On Thu, Mar 02, 2023 at 08:15:37PM +0200, Andrey Drobyshev wrote:
> On 2/28/23 16:39, Richard W.M. Jones wrote:
> > On Tue, Feb 28, 2023 at 03:24:46PM +0100, Laszlo Ersek wrote:
> >> On 2/28/23 14:01, Richard W.M. Jones wrote:
> >>> On Wed, Feb 22, 2023 at 08:20:43PM +0200, Andrey Drobyshev wrote:
> >>>> Since commits b28cd1dc ("Remove