Andrey Drobyshev
2023-Mar-07 19:40 UTC
[Libguestfs] [V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com> --- 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
Richard W.M. Jones
2023-Mar-08 20:35 UTC
[Libguestfs] [V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
On Tue, Mar 07, 2023 at 09:40:07PM +0200, Andrey Drobyshev wrote:> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com> > --- > 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 -> IDEYou 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 instead of the same-named type from lib/types.mli. (Although as you can see it works either way). It's probably better to omit it, since it is also omitted on the third (IDE) line, or I suppose adjust the third line to add it. Rich.> and of_virtio_win_net_type = function > -- > 2.31.1-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into KVM guests. http://libguestfs.org/virt-v2v
Laszlo Ersek
2023-Mar-13 08:19 UTC
[Libguestfs] [V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
On 3/7/23 20:40, Andrey Drobyshev wrote:> Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com> > --- > 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 = functionAcked-by: Laszlo Ersek <lersek at redhat.com>
Apparently Analagous Threads
- [V2V PATCH v2 2/5] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
- [V2V PATCH v3 2/6] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type
- [V2V PATCH v2 4/5] convert_windows: set block driver priority according to block_driver option
- [V2V PATCH v3 4/6] convert_windows: set block driver priority according to block_driver option
- [V2V PATCH v2 0/5] Bring support for virtio-scsi back to Windows