Bug 805362
| Summary: | guest kernel call trace when hotplug vcpu | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Shaolong Hu <shu> |
| Component: | qemu-kvm | Assignee: | Igor Mammedov <imammedo> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.3 | CC: | acathrow, bsarathy, imammedo, juzhang, michen, mkenneth, tburke, virt-maint, wdai, xfu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-0.12.1.2-2.267.el6 | Doc Type: | Bug Fix |
| Doc Text: |
No documentation needed
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 11:45:18 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shaolong Hu
2012-03-21 02:41:54 UTC
I've investigated it and found root cause, now it doesn't look harmless now, so I think that it is better to fix in 6.3.
Call trace caused by irq storm that occurs when qemu doesn't lower sci interrupt line after rising it in:
qemu_system_cpu_hot_add
-> pm_update_sci
-> qemu_set_irq(s->irq, sci_level /* =1 */);
in upstream qemu-kvm interrupt issue is fixed by
633aa0acfe2c4d3 "Fix pci hotplug to generate level triggered interrupt"
...
@@ -514,7 +520,9 @@ static void gpe_writeb(void *opaque, uint32_t addr, uint32_t val)
break;
default:
break;
- }
+ }
+
+ pm_update_sci(s);
PIIX4_DPRINTF("gpe write %x <== %d\n", addr, val);
}
...
which I've forgot to backport.
Since, fix touches pci hotplug, I need re-test all hot-plug including windows guest before posting fix.
according to below case testing result, kernel don't show call trace during hotplug vcpu, so this bug is fixed. https://tcms.engineering.redhat.com/run/35769/#caserun_964525 rpm -qa|grep qemu qemu-kvm-0.12.1.2-2.267.el6.x86_64
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No documentation needed
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2012-0746.html |