------- Comment From [email protected] 2025-08-21 07:04 EDT-------
Hi Team,

Tested the issue on ubuntu 25.10 on kernel 6.16.0-13-generic, The issue
is Not Reproducible.

------- 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

------ steps to reproduce --------

1) start a guest with mentioned OS and kernel
2) attach a pci device to the guest
3) Detach the device from the guest using virsh detach-device command
4) The device got detached successfully from the guest, and there were no 
warnings seen on host console.

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# virsh detach-device vm1 nvme1.xml
Device detached successfully

root@ubuntu:/home# dmesg | tail
[10852.078154] vfio-pci 0181:60:00.0: reset done
[10852.502391] nvme 0181:60:00.0: ibm,query-pe-dma-windows(53) 600000 8000000 
20000181 returned 0, lb=1000000 ps=103 wn=1
[10852.502610] nvme 0181:60:00.0: ibm,create-pe-dma-window(54) 600000 8000000 
20000181 15 24 returned 0 (liobn = 0x70000181 starting addr = 8000000 0)
[10852.503772] nvme 0181:60:00.0: lsa_required: 0, lsa_enabled: 0, direct 
mapping: 1
[10852.503782] nvme 0181:60:00.0: lsa_required: 0, lsa_enabled: 0, direct 
mapping: 1
[10852.503889] nvme nvme0: pci function 0181:60:00.0
[10852.526940] nvme nvme0: D3 entry latency set to 10 seconds
[10852.532411] hwmon hwmon0: temp1_input not attached to any thermal zone
[10852.532424] hwmon hwmon0: temp2_input not attached to any thermal zone
[10852.553814] nvme nvme0: 32/0/0 default/read/poll queues

----- on guest ------
root@guest:~# lspci
00:01.0 Ethernet controller: Red Hat, Inc. Virtio network device
00:02.0 USB controller: Red Hat, Inc. QEMU XHCI Host Controller (rev 01)
00:03.0 SCSI storage controller: Red Hat, Inc. Virtio SCSI
00:04.0 Communication controller: Red Hat, Inc. Virtio console
00:05.0 SCSI storage controller: Red Hat, Inc. Virtio block device
00:06.0 Unclassified device [00ff]: Red Hat, Inc. Virtio memory balloon

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/2104893

Title:
  WARNING: CPU: 18 PID: 3683 at
  arch/powerpc/kvm/../../../virt/kvm/vfio.c Call Traces seen when pci
  device is detached from the kvm guest

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-power-systems/+bug/2104893/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to