daggs
2018-May-02 17:29 UTC
[libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
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? Thanks, Dagg.
Ján Tomko
2018-May-03 10:44 UTC
Re: [libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
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@redhat.com >https://www.redhat.com/mailman/listinfo/libvirt-users
daggs
2018-May-05 16:29 UTC
Re: [libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
Greetings Jano,> Sent: Thursday, May 03, 2018 at 1:44 PM > From: "Ján Tomko" <jtomko@redhat.com> > To: daggs <daggs@gmx.com> > Cc: libvirt-users@redhat.com > Subject: Re: [libvirt-users] changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01) > > 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@redhat.com > >https://www.redhat.com/mailman/listinfo/libvirt-users >router@utils_server:~$ virsh -c qemu:///system dumpxml router | grep -A4 scsi router@utils_server:~$ virsh -c qemu:///system dumpxml router | grep -A4 -i scsi router@utils_server:~$ virsh -c qemu:///system dumpxml router | grep -A4 -i virtio <target dev='vda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb'/> -- <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/> </interface> <serial type='pty'> -- <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </memballoon> </devices> there is no scsi in the xml, if I define one, will it show up as an additional or will change the existing one? Dagg
Maybe Matching Threads
- Re: changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
- Re: changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)
- possible bug in efi detection for guest
- Re: connecting host and guest vm using a dummy nic
- Re: scsi passthrough differs between guests