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

[emulated igb] Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Invalid argument

    • qemu-kvm-8.2.0-4.el9
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 23
    • 25
    • None
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • x86_64
    • Linux
    • None

      What were you trying to do that didn't work?
      The L1 qemu-kvm throws "Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Invalid argument" when start a L2 VM with a emulated igb PF

      Please provide the package NVR for which bug is seen:
      L2 VM:
      5.14.0-402.el9.x86_64
      L1 VM:
      qemu-kvm-8.2.0-2.el9.x86_64
      5.14.0-404.el9.x86_64
      libvirt-9.10.0-1.el9.x86_64
      host:
      qemu-kvm-8.2.0-2.el9.x86_64
      5.14.0-404.el9.x86_64
      libvirt-9.10.0-1.el9.x86_64

      How reproducible:
      100%

      Steps to reproduce
      1. start a L1 VM with a igb + intel iommu
      2. make sure the "intel_iommu=on" in enabled in the L1 VM
      3. start a L2 VM with igb pf in the L1 VM
      4. check the host qemu-kvm log

      2024-01-11T04:01:04.351949Z qemu-kvm: vfio 0000:01:00.0: Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Invalid argument
      

      Expected results
      No error

      Actual results
      The L1 qemu-kvm throws "Failed to set up TRIGGER eventfd signaling for interrupt INTX-0: VFIO_DEVICE_SET_IRQS failure: Invalid argument" when start a L2 VM with a emulated igb PF

      Additional info:
      (1) This issue is not reproduced in the following test environment:
      Test env:
      host:
      5.14.0-394.el9.x86_64
      qemu-kvm-8.1.0-5.el9.x86_64
      L1:
      5.14.0-392.el9.x86_64
      qemu-kvm-8.1.0-5.el9.x86_64
      L2:
      5.14.0-392.el9.x86_64

      2023-12-08 08:03:46.293+0000: starting up libvirt version: 9.9.0, package: 1.el9 (Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>, 2023-11-21-07:23:13, ), qemu version: 8.1.0qemu-kvm-8.1.0-5.el9, kernel: 5.14.0-392.el9.x86_64, hostname: vm-211-87.rhts.eng.pek2.redhat.com
      LC_ALL=C \
      PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin \
      HOME=/var/lib/libvirt/qemu/domain-1-rhel94 \
      XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-rhel94/.local/share \
      XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-rhel94/.cache \
      XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-rhel94/.config \
      /usr/libexec/qemu-kvm \
      -name guest=rhel94,debug-threads=on \
      -S \
      -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-rhel94/master-key.aes"}' \
      -machine pc-q35-rhel9.2.0,usb=off,dump-guest-core=off,memory-backend=pc.ram,hpet=off,acpi=on \
      -accel kvm \
      -cpu Skylake-Server-IBRS,ss=on,vmx=on,pdcm=on,hypervisor=on,tsc-adjust=on,clflushopt=on,umip=on,pku=on,md-clear=on,stibp=on,flush-l1d=on,arch-capabilities=on,ssbd=on,xsaves=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,rsba=on,skip-l1dfl-vmentry=on,pschange-mc-no=on,mpx=off \
      -m size=2093056k \
      -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":2143289344}' \
      -overcommit mem-lock=off \
      -smp 4,sockets=4,cores=1,threads=1 \
      -uuid e20be12f-72f3-49fd-8239-303701f59237 \
      -no-user-config \
      -nodefaults \
      -chardev socket,id=charmonitor,fd=22,server=on,wait=off \
      -mon chardev=charmonitor,id=monitor,mode=control \
      -rtc base=utc,driftfix=slew \
      -global kvm-pit.lost_tick_policy=delay \
      -no-shutdown \
      -global ICH9-LPC.disable_s3=1 \
      -global ICH9-LPC.disable_s4=1 \
      -boot strict=on \
      -device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
      -device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
      -device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
      -device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
      -device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
      -device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
      -device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
      -device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
      -device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
      -device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
      -device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
      -device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
      -device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
      -device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
      -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pcie.0","addr":"0x1d.0x7"}' \
      -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pcie.0","multifunction":true,"addr":"0x1d"}' \
      -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pcie.0","addr":"0x1d.0x1"}' \
      -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pcie.0","addr":"0x1d.0x2"}' \
      -blockdev '{"driver":"file","filename":"/home/images/RHEL94.qcow2","aio":"threads","node-name":"libvirt-1-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
      -blockdev '{"node-name":"libvirt-1-format","read-only":false,"cache":{"direct":true,"no-flush":false},"driver":"qcow2","file":"libvirt-1-storage","backing":null}' \
      -device '{"driver":"virtio-blk-pci","bus":"pci.2","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1,"write-cache":"on"}' \
      -netdev '{"type":"tap","fd":"23","vhost":true,"vhostfd":"25","id":"hostnet0"}' \
      -device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:00:94:94","bus":"pci.1","addr":"0x0"}' \
      -chardev pty,id=charserial0 \
      -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
      -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
      -audiodev '{"id":"audio1","driver":"none"}' \
      -vnc 0.0.0.0:94,audiodev=audio1 \
      -device '{"driver":"VGA","id":"video0","vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
      -global ICH9-LPC.noreboot=off \
      -watchdog-action reset \
      -device '{"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev0","bus":"pci.4","addr":"0x0"}' \
      -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.3","addr":"0x0"}' \
      -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
      -msg timestamp=on
      char device redirected to /dev/pts/0 (label charserial0)
      2023-12-08T08:04:42.145487Z qemu-kvm: terminating on signal 15 from pid 3538 (/usr/sbin/virtqemud)
      2023-12-08 08:04:42.377+0000: shutting down, reason=shutdown
      

              rh-ee-clegoate Cédric Le Goater
              yanghliu@redhat.com YangHang Liu
              virt-maint virt-maint
              YangHang Liu YangHang Liu
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: