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

Guest power off failed with iommu_platform=on and enable iothread [rhel-9.5]

    • Yes
    • Moderate
    • Regression
    • rhel-sst-virtualization
    • ssg_virtualization
    • 8
    • QE ack
    • False
    • Hide

      None

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

      What were you trying to do that didn't work?
      guest cannot power off with the iommu and iothread enabled 

      qemu-kvm-8.2.0-11.el9_4

      kernel-5.14.0-417.kpq1.el9.x86_64

      edk2-20231122-6.el9

      How reproducible:
      100%

      Steps to reproduce

      1.boot vm with virtio-blk assigned iothread and intel-iommu

      -object '{"qom-type":"iothread","id":"iothread1"}' \
      -device '{"driver":"virtio-blk-pci","iommu_platform":true,"ats":true,"iothread":"iothread1","bus":"pci.4","addr":"0x0","drive":"libvirt-1-format","id":"virtio-disk0","bootindex":1}' \

      -device '{"driver":"intel-iommu","id":"iommu0","intremap":"on","caching-mode":true,"eim":"on","device-iotlb":true}' \

      2.shutdown vm with shutdown -h now

      Expected results
      vm shutdown successfully 

      Actual results
      fail to shutdown

        1. image-2024-04-17-18-20-47-125.png
          36 kB
          Peixiu Hou
        2. image-2024-04-17-18-32-27-870.png
          37 kB
          Peixiu Hou
        3. power_off_failed.png
          979 kB
          Peixiu Hou

              mtsirkin Michael S Tsirkin
              rhn-support-phou Peixiu Hou
              virt-maint virt-maint
              Jin Liu Jin Liu
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: