guest aborts when detaching a SR-IOV VF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Environment:
------------
Host OS (ia32/ia32e/
Guest OS (ia32/ia32e/
Guest OS Type (Linux/
kvm.git Commit:
qemu.git Commit:
Host Kernel Version:3.1.0-rc9+
Hardware: Westmere-EP && SandyBridge platform
Bug detailed description:
-------
Guest will abort when detaching a SR-IOV VF.
I'm using rhel6 and rhel6u1 as my guest. Firstly, I hot-plug a sr-iov VF to a guest. Then I detach the VF from the guest. At that time, guest aborts and qemu-kvm process aborts with the following message.
"qemu-system-
Aborted (core dumped) "
Reproduce steps:
----------------
1.start a rhel6 guest
2.attach a SR-IOV VF to the guest: device_add pci-assign,
(I'm using 82576 Virtual Function.)
3.detach the VF from the guest: device_del myNIC
(you'll find guest aborts)
Current result:
----------------
guest aborts and qemu process aborts
Expected result:
----------------
guest still alive
I also tried this issue with Intel 82576EI NIC, and this normal VT-D NIC doesn't have this detachment issue.