Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Previously, an internal error prevented KVM from executing a CPU hot plug on a Red Hat Enterprise Linux 7 guest running on a Red Hat Enterprise Linux 7 host. This update addresses the internal error and CPU hot plugging in the described scenario now functions correctly.
Reproduced this issue with qemu-kvm-rhev-1.5.3-60.el7ev.x86_64.
steps:
1.Boot qemu-kvm process as following command line
/usr/libexec/qemu-kvm -M rhel6.x.x -m 8G -smp 4,sockets=2,cores=2,thread=1,maxcpus=160 .......
2. check vcpu number
(qemu) info cpus
* CPU #0: pc=0x00000000000fe7e0 thread_id=32603
CPU #1: pc=0x00000000000f6277 (halted) thread_id=32604
CPU #2: pc=0x00000000000f6277 (halted) thread_id=32605
CPU #3: pc=0x00000000000f6277 (halted) thread_id=32606
3. hotplug vcpu via qmp command
{ "execute": "cpu-add", "arguments": { "id": 4 }}
result:
{"error": {"class": "GenericError", "desc": "Not supported"}}
4. re-check vcpu number
(qemu) info cpus
* CPU #0: pc=0x00000000000fe7e0 thread_id=32603
CPU #1: pc=0x00000000000f6277 (halted) thread_id=32604
CPU #2: pc=0x00000000000f6277 (halted) thread_id=32605
CPU #3: pc=0x00000000000f6277 (halted) thread_id=32606
Notes:
QE tested -M rhel6.0.0 ~ rhel6.5.0. All machine type rhel6.x.x don't work.
Comment on attachment 892795[details]
[RHEL-7.0 qemu-kvm PATCH] pc: enable CPU hotplug for RHEL6.{45}u PIIX machines and disable it for Q35
it was a wrong patch.
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.
https://rhn.redhat.com/errata/RHSA-2015-0349.html