[fedora-virt] virtio-scsi with libvirt

Andrew Cathrow acathrow at redhat.com
Sat Jan 5 20:13:36 UTC 2013




----- Original Message -----
> From: "Ian Pilcher" <arequipeno at gmail.com>
> To: virt at lists.fedoraproject.org
> Sent: Friday, January 4, 2013 7:08:14 PM
> Subject: [fedora-virt] virtio-scsi with libvirt
> 
> Can anyone point me to an example of using libvirt XML to create a
> virtio-scsi disk?  I haven't been able to find anything anywhere.

something like ...

Add the controller 
<controller type='scsi' index='0' model='virtio-scsi'>
 <alias name='scsi0'/>
</controller>


And then the the disk ...

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/sdg'/>
      <target dev='sda' bus='scsi'/>
      <alias name='scsi0-0-0-0'/>
    </disk>











> 
> Thanks!
> 
> --
> ========================================================================
> Ian Pilcher
>                                         arequipeno at gmail.com
> Sometimes there's nothing left to do but crash and burn...or die
> trying.
> ========================================================================
> 
> _______________________________________________
> virt mailing list
> virt at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/virt


More information about the virt mailing list