------- Comment From [email protected] 2025-04-17 09:11 EDT------- Hi Team,
I have tested the issue on Ubuntu 25.04 kernel 6.14.0-15-generic The issue is Not Reproducible --- Host ENV --- kernel : 6.14.0-15-generic uname output : Linux ltcrain85-lp7 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 ppc64le ppc64le ppc64le GNU/Linux QEMU : QEMU emulator version 9.2.1 (Debian 1:9.2.1+ds-1ubuntu5) Libvirt : libvirtd (libvirt) 11.0.0 --- Guest ENV --- Kernel : 6.14.0-15-generic uname output : Linux ubuntu-guest 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 14:52:42 UTC 2025 ppc64le ppc64le ppc64le GNU/Linux --- os-release --- PRETTY_NAME="Ubuntu 25.04" NAME="Ubuntu" VERSION_ID="25.04" VERSION="25.04 (Plucky Puffin)" VERSION_CODENAME=plucky 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=plucky LOGO=ubuntu-logo --- lspci --- root@ltcrain85-lp7:~# lspci 0028:01:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] 0028:01:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx] --- Steps performed --- 1) Start a ubuntu guest 2) Detach/unbind the pci device from host using virsh nodedev-detach command 3) Attach the device to guest using virsh attach-device command 4) check the device availability in the guest. Device is available in the guest. "lspci" lists the device 5) Detach the device from guest using virsh detach-device command 6) Check for warnings on Host console. No Warnings are seen after device is detached from guest. And the device detaches successfully from the guest. --- pci xml used to attach the device --- <hostdev mode='subsystem' type='pci' managed='yes'> <source> <address domain='0x0028' bus='0x01' slot='0x00' function='0x0'/> </source> <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/> </hostdev> 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
