| Summary: | With multifunction, hot-unplug one virtual function will cause all the other virtual functions that share with the same slot disappear | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | FuXiangChun <xfu> |
| Component: | qemu-kvm | Assignee: | Amos Kong <akong> |
| Status: | CLOSED CANTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | acathrow, ailan, armbru, bsarathy, juzhang, michen, mkenneth, rhod, tburke, virt-maint |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-08 18:02:12 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
FuXiangChun
2011-11-10 05:01:56 UTC
we are not very whether we support hot unplug pci device or not,for now,if we don't support that,please free to add FEAT (In reply to comment #2) > we are not very whether we support hot unplug pci device or not,for now,if we > don't support that,please free to add FEAT Correction we are not very whether we support hot unplug pci device with enable multifunction or not,for now,if we don't support that,please free to add FEAT PCI hotplug operates on a slot, not on a function. You can plug or unplug a physical PCI card (slot), but not logical parts of it (functions). qemu-kvm doesn't quite emulate that properly. Hotplug/unplug of multifunction devices doesn't work, only coldplug. As far as I can tell, libvirt doesn't let you unplug multifunction devices. RHEL-6 supports multifunction=on *only* with -device pci-assign, not with -virtio-net-pci, precisely because it doesn't play nice with unplug. See "Virtualization Administration Guide", chapter "qemu-kvm Whitelist", section "Device options". Closing, since PCI does not support unplug a single virtual function. At best the operation should fail, but since libvirt is not using it, it is not worth the effort. |