Displaying 20 results from an estimated 32 matches for "inject_virtio_win".
2023 Mar 07
1
[COMMON PATCH v2 2/4] inject_virtio_win: add Virtio_SCSI to block_type
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
mlcustomize/inject_virtio_win.ml | 2 +-
mlcustomize/inject_virtio_win.mli | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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...
2023 Mar 10
1
[COMMON PATCH v3 2/4] inject_virtio_win: add Virtio_SCSI to block_type
This type is going to be used as a return value in case we're injecting
virtio-scsi block driver during conversion.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
Acked-by: Laszlo Ersek <lersek at redhat.com>
---
mlcustomize/inject_virtio_win.ml | 2 +-
mlcustomize/inject_virtio_win.mli | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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...
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 ("inject_virtio_win: write the proper block controller PC...
2023 Mar 07
4
[COMMON PATCH v2 0/4] Bring support for virtio-scsi back to Windows
...;vioscsi". Keep
virtio-blk as 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 |...
2023 Feb 22
6
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...convert and boot a Win guest with a virtio-scsi
disk controller. So please consider the following implementation of
this feature.
[1] https://github.com/libguestfs/virt-v2v/issues/12
v2v:
Andrey Drobyshev (2):
Revert "Remove guestcaps_block_type Virtio_SCSI"
convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block
type
convert/convert.ml | 2 +-
convert/convert_linux.ml | 9 +++++++--
convert/convert_windows.ml | 1 +
convert/target_bus_assignment.ml | 1 +
lib/create_ovf.ml | 1 +
lib/types.ml...
2023 Feb 22
0
[COMMON PATCH 4/5] inject_virtio_win: add Virtio_SCSI to block_type
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
mlcustomize/inject_virtio_win.ml | 2 +-
mlcustomize/inject_virtio_win.mli | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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...
2023 Mar 06
1
[PATCH common] mlcustomize: Add accessors for block driver priority list
When injecting virtio-win drivers, allow the list of block drivers
that we search to be modified.
---
mlcustomize/inject_virtio_win.ml | 12 +++++++++---
mlcustomize/inject_virtio_win.mli | 10 ++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 4e977b3..2a7c742 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject...
2023 Mar 07
2
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...virtio-blk), make sure we write the right PCI ID
value into the Windows guest registry. This is essential for the guest
to be bootable afterwards.
Originally-by: Roman Kagan <rkagan at virtuozzo.com>
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
mlcustomize/inject_virtio_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_vi...
2023 Mar 10
1
[COMMON PATCH v3 1/4] inject_virtio_win: match only vendor/device/revision
...gistry. This way the code will remain universal but
will work for different hypervisor vendors.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
Originally-by: Roman Kagan <rkagan at virtuozzo.com>
Acked-by: Laszlo Ersek <lersek at redhat.com>
---
mlcustomize/inject_virtio_win.ml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 4e977b3..ed63fa7 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -110,10 +110,10 @@ and get_inspection g r...
2023 Mar 10
1
[COMMON PATCH v3 3/4] mlcustomize: Add accessors for block driver priority list
...ll be used when we
introduce an option for changing the default block driver in virt-v2v.
Originally-by: Richard W.M. Jones <rjones at redhat.com>
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
Reviewed-by: Laszlo Ersek <lersek at redhat.com>
---
mlcustomize/inject_virtio_win.ml | 12 +++++++++---
mlcustomize/inject_virtio_win.mli | 10 ++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 1f4a5c4..eca0ad7 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject...
2023 Mar 10
2
[COMMON PATCH v3 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...virtio-blk), make sure we write the right PCI ID
value into the Windows guest registry. This is essential for the guest
to be bootable afterwards.
Originally-by: Roman Kagan <rkagan at virtuozzo.com>
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
mlcustomize/inject_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_vir...
2023 Mar 07
1
[COMMON PATCH v2 1/4] inject_virtio_win: match only vendor/device
...t the full device "path"
in the Windows registry. This way the code will remain universal but will
work for different hypervisor vendors.
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
Originally-by: Roman Kagan <rkagan at virtuozzo.com>
---
mlcustomize/inject_virtio_win.ml | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/mlcustomize/inject_virtio_win.ml b/mlcustomize/inject_virtio_win.ml
index 4e977b3..8d72c5d 100644
--- a/mlcustomize/inject_virtio_win.ml
+++ b/mlcustomize/inject_virtio_win.ml
@@ -110,10 +110,10 @@ and get_inspection g r...
2023 Mar 07
2
[V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
...f --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 08
1
[V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
...l 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
You don't need the "Inject_virtio_win." prefix there, since OCaml will
infer from the first line (which has the prefix) that you mean the
type from Inject_virtio_win inst...
2023 Mar 08
1
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...e right PCI ID
> value into the Windows guest registry. This is essential for the guest
> to be bootable afterwards.
>
> Originally-by: Roman Kagan <rkagan at virtuozzo.com>
> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
> ---
> mlcustomize/inject_virtio_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
> @@ -...
2023 Mar 09
1
[COMMON PATCH v2 4/4] inject_virtio_win: write the proper block controller PCI ID to Win registry
...ue into the Windows guest registry. This is essential for the guest
>> to be bootable afterwards.
>>
>> Originally-by: Roman Kagan <rkagan at virtuozzo.com>
>> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
>> ---
>> mlcustomize/inject_virtio_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_...
2023 Feb 22
0
[COMMON PATCH 5/5] inject_virtio_win: make virtio-scsi the default block driver
If virtio-scsi is present among the tools for this version of Windows,
prefer it over virtio-blk.
Originally-by: Roman Kagan <rkagan at virtuozzo.com>
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
mlcustomize/inject_virtio_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_...
2023 Mar 10
1
[V2V PATCH v3 2/6] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
...f --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 9d8d271d..bfe3ae13 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
+ | Virtio_SCSI -> Virtio_SCSI
| IDE -> IDE
and of_virtio_win_net_type = function
--
2.31.1
2023 Mar 02
1
[V2V PATCH 0/5] Bring support for virtio-scsi back to Windows
...ws Registry so that the drivers are installed
when the guest boots.
The parameter can be one of:
ISO The path to the ISO image containing the virtio-win drivers
(eg. /usr/share/virtio-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 bl...
2023 Mar 07
1
[V2V PATCH v2 4/5] convert_windows: set block driver priority according to block_driver option
...(+)
diff --git a/convert/convert_windows.ml b/convert/convert_windows.ml
index 1ace2948..6bc2343b 100644
--- a/convert/convert_windows.ml
+++ b/convert/convert_windows.ml
@@ -47,6 +47,14 @@ let convert (g : G.guestfs) _ inspect i_firmware block_driver _ static_ips =
*)
let virtio_win =
Inject_virtio_win.from_environment g inspect.i_root Config.datadir in
+ (match block_driver with
+ | Virtio_blk -> () (* the default, no need to do anything *)
+ | Virtio_SCSI ->
+ let drivers = Inject_virtio_win.get_block_driver_priority virtio_win in
+ let drivers = "vioscsi" :: driv...