------- Comment From [email protected] 2025-08-21 07:15 EDT------- Hi Team,
Tested the issue on ubuntu 25.10 on kernel 6.16.0-13-generic, The issue is Not Reproducible. There are no kvmppc_set_passthru_irq_hv traces seen when the device is attached to the guest. ------- OS and kernel ------ root@ubuntu:/home# cat /etc/os-release PRETTY_NAME="Ubuntu Questing Quokka (development branch)" NAME="Ubuntu" VERSION_ID="25.10" VERSION="25.10 (Questing Quokka)" VERSION_CODENAME=questing ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=questing LOGO=ubuntu-logo root@ubuntu:/home# uname -a Linux ubuntu 6.16.0-13-generic #13-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 7 16:06:52 UTC 2025 ppc64le ppc64le ppc64le GNU/Linux ----- on guest ----- root@guest:~# cat /proc/cmdline BOOT_IMAGE=/vmlinux-6.16.0-13-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro xive=off crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M root@guest:~# uname -a Linux guest 6.16.0-13-generic #13-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 7 16:06:52 UTC 2025 ppc64le ppc64le ppc64le GNU/Linux ------ steps to reproduce -------- 1) start a guest with mentioned OS and kernel 2) attach a pci device to the guest using virsh attach-device command 3) Device gets attached successfully, and there are kvmppc_set_passthru_irq_hv traces observed when the device is attached. root@ubuntu:/home# lspci 0181:60:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM173X root@ubuntu:/home# cat nvme1.xml <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0181' bus='0x60' slot='0x00' function='0x0'/> </source> </hostdev> root@ubuntu:/home# virsh attach-device vm1 nvme1.xml Device attached successfully root@ubuntu:/home# dmesg | tail [10442.583232] audit: type=1400 audit(1755773796.590:278): apparmor="DENIED" operation="open" class="file" profile="libvirt-d51c225e-1cb4-4b2a-86d3-4e442f34edc5" name="/sys/devices/pci0181:60/0181:60:00.0/devspec" pid=13584 comm="qemu-system-ppc" requested_mask="r" denied_mask="r" fsuid=64055 ouid=0 [10447.613106] audit: type=1400 audit(1755773801.618:279): apparmor="DENIED" operation="open" class="file" profile="libvirt-d51c225e-1cb4-4b2a-86d3-4e442f34edc5" name="/sys/devices/pci0181:60/0181:60:00.0/devspec" pid=13584 comm=43505520302F4B564D requested_mask="r" denied_mask="r" fsuid=64055 ouid=0 --- on guest ---- root@guest:~# lspci 0000:00:01.0 Ethernet controller: Red Hat, Inc. Virtio network device 0000:00:02.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01) 0000:00:03.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI 0000:00:04.0 Communication controller: Red Hat, Inc. Virtio console 0000:00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device 0000:00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon 0001:00:01.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller PM173X Thank you, Tasmiya -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2109951 Title: kvmppc_set_passthru_irq_hv: Could not assign IRQ map traces are seen when pci device is attached to kvm guest when "xive=off" is set To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-power-systems/+bug/2109951/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
