Displaying 3 results from an estimated 3 matches for "ki_supports_virtio_scsi".
2020 Sep 15
2
virt-v2v: Virtio-Scsi patch
Hi,
I was trying to migrate some VM's to Virtio-SCSI block devices, as this 
gives some advantages.
While checking the virt-v2v code, I found out that it supported 
Virtio-SCSI, but some bits were missing.
In attachment a small patch that adds the missing bits :)
Best regards
Jean-Louis
2020 Sep 16
2
Re: virt-v2v: Virtio-Scsi patch
...9,7 +109,7 @@ let convert (g : G.guestfs) inspect source_disks output rcaps _ =
>>   
>>       let block_type =
>>         match rcaps.rcaps_block_bus with
>> -      | None -> if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
>> +      | None -> if kernel.ki_supports_virtio_scsi then Virtio_SCSI else if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
>>         | Some block_type -> block_type in
>>   
>>       let net_type =
> I believe this has the possibility of breaking some guests which use
> hard-coded device names in /etc/fstab and o...
2020 Sep 15
0
Re: virt-v2v: Virtio-Scsi patch
...rt_linux.ml
> @@ -109,7 +109,7 @@ let convert (g : G.guestfs) inspect source_disks output rcaps _ =
>  
>      let block_type =
>        match rcaps.rcaps_block_bus with
> -      | None -> if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
> +      | None -> if kernel.ki_supports_virtio_scsi then Virtio_SCSI else if kernel.ki_supports_virtio_blk then Virtio_blk else IDE
>        | Some block_type -> block_type in
>  
>      let net_type =
I believe this has the possibility of breaking some guests which use
hard-coded device names in /etc/fstab and other files, because
v2v/...