On Wed, 20 Mar 2019 14:32:26 -0000 opieke...@hotmail.com wrote: > Hello, I believe I have setup my environment to support SR-IOV. > I am not sure why the system creates a linux bridge when you setup and
The bridges are created if you assign the logical network to the host. They would be used if you would connect a non-passtrough vNIC to the network. > bind a VM network to a virtual function on the NIC. > The virtual function is bound to a concrete vNIC. The virtual functions should not use these bridges. > I have 2 VLANs 102 and 112 however, there are linux bridges now setup. > > I would assume with SR-IOV the VF would be connected only to the VM. > > > [root@rhv1 ~]# brctl show > bridge name bridge id STP enabled interfaces > ;vdsmdummy; 8000.000000000000 no > ovirtmgmt 8000.64122536772a no enp2s0f0 > vnet0 > vlan-102 8000.020000000001 no enp130s16f4.102 > vlan-112 8000.163d99a43b4a no enp130s16f2.112 > > [root@rhv1 ~]# ip a | grep enp130s16f > 28: enp130s16f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP > group default qlen 1000 > 29: enp130s16f4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP > group default qlen 1000 > 30: enp130s16f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP > group default qlen 1000 > 35: enp130s16f2.112@enp130s16f2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 > qdisc noqueue master vlan-112 state UP group default qlen 1000 > 45: enp130s16f4.102@enp130s16f4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 > qdisc noqueue master vlan-102 state UP group default qlen 1000 > > [root@rhv1 ~]# virsh dumpxml nsg-v-west > Please enter your authentication name: vuser > Please enter your password: > <domain type='kvm' id='6'> > <name>nsg-v-west</name> > <uuid>27e8e6b0-62a9-4acd-8d88-0c777adb6dc1</uuid> > <metadata xmlns:ns0="http://ovirt.org/vm/tune/1.0" > xmlns:ovirt-vm="http://ovirt.org/vm/1.0"> > <ns0:qos/> > <ovirt-vm:vm xmlns:ovirt-vm="http://ovirt.org/vm/1.0"> > <ovirt-vm:clusterVersion>4.2</ovirt-vm:clusterVersion> > <ovirt-vm:destroy_on_reboot type="bool">False</ovirt-vm:destroy_on_reboot> > <ovirt-vm:launchPaused>false</ovirt-vm:launchPaused> > <ovirt-vm:memGuaranteedSize type="int">4096</ovirt-vm:memGuaranteedSize> > <ovirt-vm:minGuaranteedMemoryMb > type="int">4096</ovirt-vm:minGuaranteedMemoryMb> > <ovirt-vm:resumeBehavior>auto_resume</ovirt-vm:resumeBehavior> > <ovirt-vm:startTime type="float">1553092201.47</ovirt-vm:startTime> > <ovirt-vm:device mac_address="56:6f:10:b5:00:00"> > <ovirt-vm:network>;vdsmdummy;</ovirt-vm:network> > <ovirt-vm:specParams/> > <ovirt-vm:vm_custom/> > </ovirt-vm:device> > <ovirt-vm:device mac_address="56:6f:10:b5:00:02"> > <ovirt-vm:network>;vdsmdummy;</ovirt-vm:network> > <ovirt-vm:specParams/> > <ovirt-vm:vm_custom/> > </ovirt-vm:device> > <ovirt-vm:device devtype="disk" name="hda"> > > <ovirt-vm:domainID>200ee819-d377-4069-bcfa-e6e168ca7adf</ovirt-vm:domainID> > > <ovirt-vm:imageID>e7ff0aff-4f25-4279-92d8-1f4928dcabb7</ovirt-vm:imageID> > > <ovirt-vm:poolID>ec42e166-4a9e-11e9-b2f6-00163e2d699c</ovirt-vm:poolID> > > <ovirt-vm:volumeID>91620241-bcb5-4177-ace1-918050841d0c</ovirt-vm:volumeID> > <ovirt-vm:specParams/> > <ovirt-vm:vm_custom/> > <ovirt-vm:volumeChain> > <ovirt-vm:volumeChainNode> > > <ovirt-vm:domainID>200ee819-d377-4069-bcfa-e6e168ca7adf</ovirt-vm:domainID> > > <ovirt-vm:imageID>e7ff0aff-4f25-4279-92d8-1f4928dcabb7</ovirt-vm:imageID> > <ovirt-vm:leaseOffset type="int">0</ovirt-vm:leaseOffset> > > <ovirt-vm:leasePath>/rhev/data-center/mnt/192.168.0.15:_volume1_rhv/200ee819-d377-4069-bcfa-e6e168ca7adf/images/e7ff0aff-4f25-4279-92d8-1f4928dcabb7/91620241-bcb5-4177-ace1-918050841d0c.lease</ovirt-vm:leasePath> > > <ovirt-vm:path>/rhev/data-center/mnt/192.168.0.15:_volume1_rhv/200ee819-d377-4069-bcfa-e6e168ca7adf/images/e7ff0aff-4f25-4279-92d8-1f4928dcabb7/91620241-bcb5-4177-ace1-918050841d0c</ovirt-vm:path> > > <ovirt-vm:volumeID>91620241-bcb5-4177-ace1-918050841d0c</ovirt-vm:volumeID> > </ovirt-vm:volumeChainNode> > </ovirt-vm:volumeChain> > </ovirt-vm:device> > <ovirt-vm:device devtype="disk" name="hdc"> > <ovirt-vm:specParams/> > <ovirt-vm:vm_custom/> > </ovirt-vm:device> > <ovirt-vm:custom> > <ovirt-vm:hugepages>1048576</ovirt-vm:hugepages> > </ovirt-vm:custom> > </ovirt-vm:vm> > </metadata> > <maxMemory slots='16' unit='KiB'>16777216</maxMemory> > <memory unit='KiB'>4194304</memory> > <currentMemory unit='KiB'>4194304</currentMemory> > <memoryBacking> > <hugepages> > <page size='1048576' unit='KiB'/> > </hugepages> > </memoryBacking> > <vcpu placement='static' current='2'>32</vcpu> > <iothreads>1</iothreads> > <resource> > <partition>/machine</partition> > </resource> > <sysinfo type='smbios'> > <system> > <entry name='manufacturer'>Red Hat</entry> > <entry name='product'>RHEV Hypervisor</entry> > <entry name='version'>7.6-4.el7</entry> > <entry name='serial'>20ba27d8-a49a-2a45-b993-0cd2851eea03</entry> > <entry name='uuid'>27e8e6b0-62a9-4acd-8d88-0c777adb6dc1</entry> > </system> > </sysinfo> > <os> > <type arch='x86_64' machine='pc-i440fx-rhel7.4.0'>hvm</type> > <boot dev='hd'/> > <bios useserial='yes'/> > <smbios mode='sysinfo'/> > </os> > <features> > <acpi/> > </features> > <cpu mode='custom' match='exact' check='full'> > <model fallback='forbid'>SandyBridge</model> > <topology sockets='16' cores='2' threads='1'/> > <feature policy='require' name='pcid'/> > <feature policy='require' name='spec-ctrl'/> > <feature policy='require' name='ssbd'/> > <feature policy='require' name='vme'/> > <feature policy='require' name='hypervisor'/> > <feature policy='require' name='arat'/> > <feature policy='require' name='xsaveopt'/> > <numa> > <cell id='0' cpus='0-1' memory='4194304' unit='KiB'/> > </numa> > </cpu> > <clock offset='variable' adjustment='0' basis='utc'> > <timer name='rtc' tickpolicy='catchup'/> > <timer name='pit' tickpolicy='delay'/> > <timer name='hpet' present='no'/> > </clock> > <on_poweroff>destroy</on_poweroff> > <on_reboot>restart</on_reboot> > <on_crash>destroy</on_crash> > <pm> > <suspend-to-mem enabled='no'/> > <suspend-to-disk enabled='no'/> > </pm> > <devices> > <emulator>/usr/libexec/qemu-kvm</emulator> > <disk type='file' device='disk' snapshot='no'> > <driver name='qemu' type='qcow2' cache='none' error_policy='stop' > io='threads'/> > <source > file='/rhev/data-center/mnt/192.168.0.15:_volume1_rhv/200ee819-d377-4069-bcfa-e6e168ca7adf/images/e7ff0aff-4f25-4279-92d8-1f4928dcabb7/91620241-bcb5-4177-ace1-918050841d0c'/> > <backingStore/> > <target dev='hda' bus='ide'/> > <serial>e7ff0aff-4f25-4279-92d8-1f4928dcabb7</serial> > <alias name='ua-e7ff0aff-4f25-4279-92d8-1f4928dcabb7'/> > <address type='drive' controller='0' bus='0' target='0' unit='0'/> > </disk> > <disk type='file' device='cdrom'> > <driver name='qemu' error_policy='report'/> > <source startupPolicy='optional'/> > <target dev='hdc' bus='ide'/> > <readonly/> > <alias name='ua-85e4095c-5366-4099-816e-5258e80c6da2'/> > <address type='drive' controller='0' bus='1' target='0' unit='0'/> > </disk> > <controller type='usb' index='0' model='piix3-uhci'> > <alias name='usb'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x01' > function='0x2'/> > </controller> > <controller type='ide' index='0'> > <alias name='ide'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x01' > function='0x1'/> > </controller> > <controller type='virtio-serial' index='0' ports='16'> > <alias name='ua-b84d3eaf-525a-4c87-a852-a2386700db62'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x03' > function='0x0'/> > </controller> > <controller type='scsi' index='0' model='virtio-scsi'> > <driver iothread='1'/> > <alias name='ua-ff5a8da2-a1af-4510-a5b7-68f7eb19edcd'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x02' > function='0x0'/> > </controller> > <controller type='pci' index='0' model='pci-root'> > <alias name='pci.0'/> > </controller> > <interface type='hostdev'> > <mac address='56:6f:10:b5:00:00'/> > <driver name='vfio'/> > <source> > <address type='pci' domain='0x0000' bus='0x82' slot='0x10' > function='0x0'/> > </source> > <vlan> > <tag id='112'/> > </vlan> > <alias name='ua-a690778c-1927-465a-840d-15c730320703'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x06' > function='0x0'/> > </interface> > <interface type='hostdev'> > <mac address='56:6f:10:b5:00:02'/> > <driver name='vfio'/> > <source> > <address type='pci' domain='0x0000' bus='0x82' slot='0x11' > function='0x0'/> > </source> > <vlan> > <tag id='102'/> > </vlan> > <alias name='ua-24c9018b-ba51-49e0-8d3b-af920842919e'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x04' > function='0x0'/> > </interface> > <serial type='unix'> > <source mode='bind' > path='/var/run/ovirt-vmconsole-console/27e8e6b0-62a9-4acd-8d88-0c777adb6dc1.sock'/> > <target type='isa-serial' port='0'> > <model name='isa-serial'/> > </target> > <alias name='serial0'/> > </serial> > <console type='unix'> > <source mode='bind' > path='/var/run/ovirt-vmconsole-console/27e8e6b0-62a9-4acd-8d88-0c777adb6dc1.sock'/> > <target type='serial' port='0'/> > <alias name='serial0'/> > </console> > <channel type='unix'> > <source mode='bind' > path='/var/lib/libvirt/qemu/channels/27e8e6b0-62a9-4acd-8d88-0c777adb6dc1.ovirt-guest-agent.0'/> > <target type='virtio' name='ovirt-guest-agent.0' state='disconnected'/> > <alias name='channel0'/> > <address type='virtio-serial' controller='0' bus='0' port='1'/> > </channel> > <channel type='unix'> > <source mode='bind' > path='/var/lib/libvirt/qemu/channels/27e8e6b0-62a9-4acd-8d88-0c777adb6dc1.org.qemu.guest_agent.0'/> > <target type='virtio' name='org.qemu.guest_agent.0' > state='disconnected'/> > <alias name='channel1'/> > <address type='virtio-serial' controller='0' bus='0' port='2'/> > </channel> > <input type='mouse' bus='ps2'> > <alias name='input0'/> > </input> > <input type='keyboard' bus='ps2'> > <alias name='input1'/> > </input> > <memballoon model='virtio'> > <stats period='5'/> > <alias name='ua-6bd7b1bd-73c9-49d2-8639-71323f8b3033'/> > <address type='pci' domain='0x0000' bus='0x00' slot='0x05' > function='0x0'/> > </memballoon> > </devices> > <seclabel type='dynamic' model='dac' relabel='yes'> > <label>+107:+107</label> > <imagelabel>+107:+107</imagelabel> > </seclabel> > </domain> > _______________________________________________ > Users mailing list -- users@ovirt.org > To unsubscribe send an email to users-le...@ovirt.org > Privacy Statement: https://www.ovirt.org/site/privacy-policy/ > oVirt Code of Conduct: > https://www.ovirt.org/community/about/community-guidelines/ > List Archives: > https://lists.ovirt.org/archives/list/users@ovirt.org/message/IELSQ3XBA7TXRT5MKCEMNGKFOY7ITNK3/ _______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/TEWPUEGB5XOFDXIB7GCLBSI26IQE456I/