RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 990222 - qemu-kvm crashes when plugging 161th vCPU
Summary: qemu-kvm crashes when plugging 161th vCPU
Keywords:
Status: CLOSED DUPLICATE of bug 989439
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-30 15:33 UTC by Peter Krempa
Modified: 2013-07-31 08:37 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-31 07:38:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Peter Krempa 2013-07-30 15:33:04 UTC
Description of problem:
qemu-kvm crashes when trying to hotplug the 161th cpu.


Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.382.el6.x86_64
libvirt-0.10.2-21.el6.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. start a guest with 1 actual cpu and 161+ possible vCPUs
when using libvirt:
<vcpu placement='static' current='1'>162</vcpu>

2. hotplug 160 more cpus into the guest
when using libvirt-0.10.2-21.el6.x86_64 (this version has the limit of maximum cpus removed)

virsh setvcpus --live domainname 161

or

use monitor manually.

3. qemu-kvm exits on signal 6

Actual results:
qemu-kvm crashes

Expected results:
qemu-kvm will reject hotplug of the cpu with an error


Additional info:
Core was generated by `/usr/libexec/qemu-kvm -name asdf -S -M rhel6.5.0 -enable-kvm -m 1024 -realtime'.
Program terminated with signal 6, Aborted.
#0  0x00007f2c483f28d5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);

(gdb) bt
#0  0x00007f2c483f28d5 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f2c483f40b5 in abort () at abort.c:92
#2  0x00007f2c4aae0ffb in kvm_create_vcpu (_env=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:475
#3  ap_main_loop (_env=<value optimized out>) at /usr/src/debug/qemu-kvm-0.12.1.2/qemu-kvm.c:2026
#4  0x00007f2c4a4139d1 in start_thread (arg=0x7f2b5f371700) at pthread_create.c:301
#5  0x00007f2c484a8a3d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

(full backtrace has a lot of threads waiting in do_sigtimedwait, I can attach it if needed)

Comment 2 Qunfang Zhang 2013-07-31 03:24:59 UTC
Hi, Peter
FYI, this bug should be the same issue with bug 989439 which is closed as WONTFIX.

Comment 3 Peter Krempa 2013-07-31 07:38:34 UTC
(In reply to Qunfang Zhang from comment #2)
> Hi, Peter
> FYI, this bug should be the same issue with bug 989439 which is closed as
> WONTFIX.

Hmm, right. Bugzilla didn't show it as a possible duplicate. As libvirt won't support hotplugging more than 160 cpus in rhel 6 I'm closing this as a duplicate of said bug.

*** This bug has been marked as a duplicate of bug 989439 ***


Note You need to log in before you can comment on or make changes to this bug.