[Libguestfs] [V2V PATCH v3 2/6] convert_windows: add Inject_virtio_win.Virtio_SCSI as a possible block type

Andrey Drobyshev andrey.drobyshev at virtuozzo.com
Fri Mar 10 17:54:29 UTC 2023


It is needed to pass the proper guest capability in case we have
virtio-scsi driver installed during conversion.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev at virtuozzo.com>
---
 convert/convert_windows.ml | 1 +
 1 file changed, 1 insertion(+)

diff --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



More information about the Libguestfs mailing list