Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-66235

Interface acpi index does not take effect on aarch64

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-10.0
    • qemu-kvm / General
    • No
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • aarch64
    • None

      What were you trying to do that didn't work?

      Interface acpi index does not take effect.

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      qemu-kvm-9.1.0-3.el10.1.aarch64

      libvirt-10.9.0-1.el10.aarch64

      How reproducible is this bug?:

      100%

      Steps to reproduce

      1. Prepare a running guest with interface acpi index setting:     
       #virsh dumpxml vm2 --xpath //interface
      <interface type="network">
        <mac address="52:54:00:6e:c6:e9"/>
        <source network="default" portid="7d482714-1dcb-4f14-9dc8-a0651053f69b" bridge="virbr0"/>
        <target dev="vnet8"/>
        <model type="virtio"/>
        <driver queues="2"/>
        <alias name="net0"/>
       *** <acpi index="1"/> ***
      ***  <address type="pci" domain="0x0000" bus="0x08" slot="0x00" function="0x0"/> ***
      </interface>
      

        2.Check the qemu cmd line, can see the interface acpi index setting:

       /usr/libexec/qemu-kvm -name guest=vm2,debug-threads=on ... -netdev {"type":"tap","fds":"24:26","vhost":true,"vhostfds":"27:28","id":"hostnet0"} -device {"driver":"virtio-net-pci","mq":true,"vectors":6,"netdev":"hostnet0","id":"net0","mac":"52:54:00:6e:c6:e9","bus":"pci.8","addr":"0x0","acpi-index":1}

        3.Login the guest and check the interface name in guest os:    

       # ip l
      2: ***enp8s0***: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
          link/ether 52:54:00:6e:c6:e9 brd ff:ff:ff:ff:ff:ff
      

      Expected results

      The interface name is stable with 'eno1' when setting acpi index='1'.

      Actual results

      The interface acpi index does not take effect. The interface name changed based on the updated PCI address. 

              virt-maint virt-maint
              rhn-support-yafu Yan Fu
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: