| Summary: | qemu exit and Segmentation fault when hotplug vcpus with bigger value | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | FuXiangChun <xfu> | ||||
| Component: | qemu-kvm | Assignee: | Igor Mammedov <imammedo> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6.3 | CC: | acathrow, areis, bsarathy, dyasny, juzhang, michen, mkenneth, sluo, virt-maint, wdai | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | qemu-kvm-0.12.1.2-2.272.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: |
No documentation needed
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-06-20 11:45:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
FuXiangChun
2012-03-28 02:45:29 UTC
Created attachment 573206 [details]
Segmentation fault log
FYI Bug 805788 - Option -smp maxcpus does not completely work If -smp maxcpus works right, maybe can avoid this issue. *** Bug 805788 has been marked as a duplicate of this bug. ***
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
Have reporduced and verified this issue with the same steps as Comment #0. reporduce this issue with the environment and test results as follows: host info: # uname -r && rpm -q qemu-kvm 2.6.32-262.el6.x86_64 qemu-kvm-0.12.1.2-2.270.el6.x86_64 guest info: RHEL6.3-20120416.0-Server-x86_64 actual results: after the step 2, QEMU quit and Segmentation fault, (qemu) cpu_set 300000000 online [New Thread 0x7ffedeef2700 (LWP 8828)] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7f6c9d0 in enable_processor (cpu=300000000, state=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/acpi.c:929 929 g->cpus_sts[cpu / 8] |= (1 << (cpu % 8)); (gdb) bt #0 0x00007ffff7f6c9d0 in enable_processor (cpu=300000000, state=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/acpi.c:929 #1 qemu_system_cpu_hot_add (cpu=300000000, state=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/hw/acpi.c:952 #2 0x00007ffff7dfa8f9 in handle_user_command (mon=0x7ffff8768010, cmdline=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4217 #3 0x00007ffff7dfa95a in monitor_command_cb (mon=0x7ffff8768010, cmdline=<value optimized out>, opaque=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4838 #4 0x00007ffff7e51f4d in readline_handle_byte (rs=0x7ffff9b89210, ch=<value optimized out>) at readline.c:369 #5 0x00007ffff7dfab80 in monitor_read (opaque=<value optimized out>, buf=0x7fffffffbbe0 "\r", size=1) at /usr/src/debug/qemu-kvm-0.12.1.2/monitor.c:4824 #6 0x00007ffff7e6739b in qemu_chr_read (opaque=0x7ffff86d9e90) at qemu-char.c:180 #7 fd_chr_read (opaque=0x7ffff86d9e90) at qemu-char.c:688 #8 0x00007ffff7dede0f in main_loop_wait (timeout=1000) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:3990 #9 0x00007ffff7e0f52a in kvm_main_loop () at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2244 #10 0x00007ffff7df095c in main_loop (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:4202 #11 main (argc=20, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/vl.c:6427 (gdb) verify this issue with the environment and test results as follows: host info: # uname -r && rpm -q qemu-kvm 2.6.32-262.el6.x86_64 qemu-kvm-0.12.1.2-2.285.el6.x86_64 guest info: RHEL6.3-20120416.0-Server-x86_64 actual results: after the step 2, if hotplug vcpus with bigger than the range value, QEMU prompts a warning message, else if hotplug vcpus within the range value can successfully. (qemu) cpu_set 300000000 online cpu id[300000000] must be in range [1..160] (qemu) cpu_set 160 online (qemu) According to above test results, this issue has been fixed. 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 |