Re: changing pci addr of SCSI storage controller: Red Hat, Inc Virtio block device (rev 01)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greetings Ján,

> Sent: Saturday, May 05, 2018 at 7:29 PM
> From: daggs <daggs@xxxxxxx>
> To: "Ján Tomko" <jtomko@xxxxxxxxxx>
> Cc: libvirt-users@xxxxxxxxxx
> Subject: Re:  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@xxxxxxxxxx>
> > To: daggs <daggs@xxxxxxx>
> > Cc: libvirt-users@xxxxxxxxxx
> > Subject: Re:  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@xxxxxxxxxx
> > >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
> 

any update on this issue?

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users




[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux