[Libguestfs] [COMMON PATCH v3 2/4] inject_virtio_win: add Virtio_SCSI to block_type

Laszlo Ersek lersek at redhat.com
Mon Mar 13 10:08:20 UTC 2023


On 3/10/23 18:54, Andrey Drobyshev wrote:
> 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,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_virtio_win.mli
> +++ b/mlcustomize/inject_virtio_win.mli
> @@ -20,7 +20,7 @@
>  
>  type t (** Handle *)
>  
> -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
>  

Acked-by: Laszlo Ersek <lersek at redhat.com>



More information about the Libguestfs mailing list