[libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)

Ján Tomko jtomko at redhat.com
Thu May 3 10:44:44 UTC 2018


On Wed, May 02, 2018 at 07:29:23PM +0200, daggs wrote:
>Greetings,
>
>when execute lspci inside my vm linux guest, I see this:
>:/# lspci | grep -i scsi
>03:00.0 SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
>
>I don't see any such address in my xml file, is it possible to move that controller to another pci addr?
>

Can you look again?
Libvirt should not be adding virtio-scsi devices to the VM without
putting them in the XML as well. If you did not have it in the XML when
you defined the domain and it got auto-added because there was a SCSI
disk with no controller, the controller should still show up in the
output of virsh dumpxml / virsh edit:
    <controller type='scsi' index='0' model='virtio-scsi'>
      <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
    </controller>

Jano

>Thanks,
>
>Dagg.
>
>_______________________________________________
>libvirt-users mailing list
>libvirt-users at redhat.com
>https://www.redhat.com/mailman/listinfo/libvirt-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180503/ec71439b/attachment.sig>


More information about the libvirt-users mailing list