Quantcast
Channel: Mellanox Interconnect Community: Message List
Viewing all articles
Browse latest Browse all 6275

Re: Mac address is assigned to wrong port of Mellanox

$
0
0

Hi, thanks a lot for your response.

This is my  xml file:

<domain type='kvm'>

  <name><VM_LABEL></name>

  <uuid><VM_UUID></uuid>

  <description>Timos VM</description>

  <memory>62914560</memory>

  <currentMemory>62914560</currentMemory>

  <cpu mode='host-passthrough'/>

  <memoryBacking>

    <hugepages/>

  </memoryBacking>

  <numatune>

    <memory mode='strict' nodeset='1'/>

  </numatune>

  <vcpu current='11'>11</vcpu>

  <cputune>

    <vcpupin vcpu='0' cpuset='13'/>

    <vcpupin vcpu='1' cpuset='14'/>

    <vcpupin vcpu='2' cpuset='15'/>

    <vcpupin vcpu='3' cpuset='16'/>

    <vcpupin vcpu='4' cpuset='17'/>

    <vcpupin vcpu='5' cpuset='18'/>

    <vcpupin vcpu='6' cpuset='19'/>

    <vcpupin vcpu='7' cpuset='20'/>

    <vcpupin vcpu='8' cpuset='21'/>

    <vcpupin vcpu='9' cpuset='22'/>

    <vcpupin vcpu='10' cpuset='23'/>

    <emulatorpin cpuset='12'/>

  </cputune>

  <os>

    <type arch='x86_64' machine='pc'>hvm</type>

    <smbios mode='emulate'/>

  </os>

  <clock offset='utc'>

    <timer name='pit' tickpolicy='delay'/>

    <timer name='rtc' tickpolicy='delay'/>

  </clock>

  <devices>

    <emulator>/usr/libexec/qemu-kvm</emulator>

    <disk type='file' device='disk'>

      <driver name='qemu' type='qcow2' cache='none'/>

      <source file='/<TESTBED>/images/flexibed/<VM_NAME>/boot_cf3.qcow2'/>

<target dev='hda' bus='virtio'/>

    </disk>

    <interface type='bridge'>

      <mac address='<VM_MAC_ETH0>'/>

      <source bridge='breth0'/>

      <model type='virtio'/>

    </interface>

    <interface type='bridge'>

      <mac address='<VM_MAC_ETH1>'/>

      <source bridge='breth1'/>

      <model type='virtio'/>

    </interface>

<!--SRIOVMODE -->

    <interface type='hostdev' managed='yes'>

      <mac address='<VM_MAC_ETH4>'/>

      <source>

         <address type='pci' domain='0x0000' bus='0x82' slot='0x0' function='0x1'/>

      </source>

    </interface>

    <console type='tcp'>

      <source mode='bind' host='0.0.0.0' service='<VM_CONSOLE>'/>

      <protocol type='telnet'/>

      <target type='virtio' port='0'/>

    </console>

  </devices>

  <seclabel type='none'/>

</domain>

 

Regards,

Kavita


Viewing all articles
Browse latest Browse all 6275

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>