-
Bug
-
Resolution: Done
-
Major
-
rhel-10.0.beta
-
None
-
Important
-
rhel-sst-virtualization
-
ssg_virtualization
-
300
-
QE ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
Automated
-
-
x86_64
-
Linux
-
None
What were you trying to do that didn't work?
The VM (with virtio device + PF/VF) will crash when hot-unplug the PF/VF
Please provide the package NVR for which bug is seen:
host:
qemu-kvm-9.0.50-2.el10.legoater202406261024.x86_64
6.10.0-0.rc4.11.el10.x86_64
libvirt-10.4.0-1.el10.x86_64
VM:
6.9.0-7.el10.x86_64
How reproducible:
100%
Steps to reproduce
1. start a VM with virtio iommu + MT2892 VF or PF
2. hot-unplug the VF from the VM
# /bin/virsh detach-device rhel10 /tmp/device/0000:60:01.2.xml error: Failed to detach device from /tmp/device/0000:60:01.2.xml error: internal error: End of file from qemu monitor (vm='rhel10')
3. check the qemu-kvm log
# cat /var/log/libvirt/qemu/rhel10.log malloc_consolidate(): invalid chunk size 2024-07-02 08:38:51.340+0000: shutting down, reason=crashed
Expected results
The PF/VF can be hot-unplug from the VM with virtio iommu device
Actual results
The VM crashes
- is cloned by
-
RHEL-45848 [rhel9.5][qemu-kvm-9.0.50][upstream] The PF/VF can not be hot-unplug from the VM with virtio iommu device
- Closed