Il 27/01/2014 13:22, Qixiaozhen ha scritto:
<!-- #############Raw Device Mapping with virtio-scsi################## -->
<disk type='block' device='lun'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/mapper/360022a110000ecba5db427db00000023'/>
<target dev='vdb' bus='virtio'/>
<alias name='virtio-disk1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x06'
function='0x0'/>
</disk>
This is not using virtio-scsi.
A virtio-scsi disk would appear as /devs/sda in the VM. For example:
<disk type='block' device='lun'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/mapper/360022a110000ecba5db427db00000023'/>
<target dev='sdb' bus='scsi'/>
<address type='drive' controller='0' bus='0'/>
</disk>
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/mapper/360022a110000ecba5db4074800000022'/>
<target dev='sda' bus='scsi'/>
<address type='drive' controller='0' bus='1'/>
</disk>
<controller type='scsi' index='0' model='virtio-scsi'/>
You can now try sg_inq for both disks. One will show your NAS's product
and vendor names, the other will show QEMU as vendor and QEMU HARD DISK
as product.
Paolo