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 799180 - Sometimes guest become not to respond when change vcpu
Summary: Sometimes guest become not to respond when change vcpu
Keywords:
Status: CLOSED DUPLICATE of bug 788562
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-02 03:17 UTC by yuping zhang
Modified: 2013-01-10 00:45 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-23 21:31:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description yuping zhang 2012-03-02 03:17:24 UTC
Description of problem:
Perpare a rhel6.2 guest, then change the vcpu,sometimes the guest will become not to respond.

Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.234.el6.x86_64
libvirt-0.9.10-3.el6.x86_64
virt-manager-0.9.0-10.el6.x86_64

How reproducible:
90%

Steps to Reproduce:
1.Start a rhel6.2 guest.
#virsh dumpxml rhel6.2-new
...
<currentMemory>1048576</currentMemory>
<vcpu current='2'>4</vcpu>
...
2. Wait for the guest boot completely,then run
#virsh setvcpus rhel6.2-new 1 --live
#virsh setvcpus rhel6.2-new 3 --live
Or
You can use virt-manager to change the Current allocation of CPU,then apply.

3.Check the guest with virt-manager or virt-viewer.

Actual results:
The guest become no respond.

Expected results:
The guest works well and the vcpu will not update.
As we know,the qemu-kvm doesn't support vcpu hotplug now.The libvirt provide the API for it.
But I think the guest should not become not to respond at least.

Additional info:
1. I can reproduce this issue on rhel6 guest 100%,and can not reproduce on rhel5 guest.
2. You can change the vcpus several times if you can not reproduce this issue.

Comment 3 Dave Allan 2012-05-23 20:27:45 UTC
Based on the fact that the reproduction is completely dependent on the guest OS, I believe this BZ is not a libvirt problem, so I'm reassigning to kernel.  Please correct me if I'm wrong about that.

Comment 4 Igor Mammedov 2012-05-23 21:31:12 UTC
Closingas duplicate of bug 788562

Please re-test with RHEL6.3 kernel (kernel-2.6.32-235.el6 or later), where issue is fixed or disable kvm-clock in qemu to workaround issue on RHEL6.2.

Dor:
It might be good idea to clone bug 788562 for RHEL6.2 z stream.

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


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