GitHub user saikrm04 added a comment to the discussion: PCI Slot changes for 
hot plugged devices after reboot/restart of VM

Hi @zap51,
Here is the dumpxml before and after reboot
NIC Before Reboot
FIRST NIC
    <interface type='bridge'>
      <mac address='02:00:1e:62:00:3d'/>
      <source bridge='breth2-310'/>
      <target dev='vnet18'/>
      <model type='virtio'/>
      <driver queues='2'/>
      <link state='up'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
    </interface>
HOTADD NIC 1    
    <interface type='bridge'>
      <mac address='02:00:48:42:00:04'/>
      <source bridge='breth2-313'/>
      <target dev='vnet85'/>
      <model type='virtio'/>
      <driver queues='2'/>
      <link state='up'/>
      <alias name='net1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' 
function='0x0'/>
    </interface>


NIC After Reboot
FIRST NIC
    <interface type='bridge'>
      <mac address='02:00:1e:62:00:3d'/>
      <source bridge='breth2-310'/>
      <target dev='vnet18'/>
      <model type='virtio'/>
      <driver queues='2'/>
      <link state='up'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' 
function='0x0'/>
    </interface>
HOTADD NIC1    
    <interface type='bridge'>
      <mac address='02:00:48:42:00:04'/>
      <source bridge='breth2-313'/>
      <target dev='vnet85'/>
      <model type='virtio'/>
      <driver queues='2'/>
      <link state='up'/>
      <alias name='net1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' 
function='0x0'/>
    </interface>


GitHub link: 
https://github.com/apache/cloudstack/discussions/9479#discussioncomment-10224268

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to