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 808688 - RHEL6.3 guest will lost vcpu after resume from S4
Summary: RHEL6.3 guest will lost vcpu after resume from S4
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-31 08:29 UTC by FuXiangChun
Modified: 2012-03-31 09:05 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-31 09:05:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description FuXiangChun 2012-03-31 08:29:44 UTC
Description of problem:
The first hotplug a vcpu to rhel6.3 guest. after then do S4 inside guest. 
the last check guest vcpu number after resume from S4.  guest will lose vcpu of hotplugging.  Since S4 cause different behaviors of windows and rhel guests . So I open this bug. Another bug 808680 is about windows2008r2 guest.  

Version-Release number of selected component (if applicable):
# rpm -qa|grep qemu
qemu-kvm-0.12.1.2-2.267.el6.x86_64

# uname -r
2.6.32-259.el6.x86_64

guest kernel version:
2.6.32-251.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1.CLI
/usr/libexec/qemu-kvm -M rhel6.3.0 -cpu Opteron_G3,-kvmclock --enable-kvm -m 4G -smp 1,cores=4,sockets=40,threads=1,maxcpus=161 -name rhel6.3 -uuid ddcbfb49-3411-1701-3c36-6bdbc00bedbb -rtc base=utc,clock=host,driftfix=slew -boot c -drive file=/home/rhel6.3-64.qcow2.bak,if=none,id=ide,format=qcow2,cache=none,werror=stop,rerror=stop,boot=on -device ide-drive,drive=ide,id=drive-ide0-0-0,bootindex=1 -netdev tap,id=hostnet1 -device virtio-net-pci,netdev=hostnet1,id=net1,mac=32:12:50:a4:32:74 -spice port=5914,disable-ticketing -vga qxl -device sga -chardev socket,id=serial0,path=/var/test3,server,nowait -device isa-serial,chardev=serial0 -monitor unix:/tmp/monitor4,server,nowait -monitor stdio -qmp tcp:0:6667,server,nowait

2.hot plug a vcpu to guest
cpu_set 1 online

3.do S4 
echo disk >/sys/power/state

4. resume guest 
  
Actual results:
vcpu lost

Expected results:
vcpu don't lose

Additional info:

Comment 2 FuXiangChun 2012-03-31 09:02:56 UTC
I found that rhel6.3 guest don't lose vcpus after resume from S4. so I close this bug.


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