Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 842406

Summary: suspend breaks kvm processor pinning
Product: [Fedora] Fedora Reporter: Robert Story <rs>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: eblake, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-23 19:23:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
virt-manager pinning on running guest before suspend
none
virt manager guest pinning after suspend/resume
none
/var/log/messages for suspend/resume none

Description Robert Story 2012-07-23 19:10:42 UTC
Description of problem:
After a fresh boot, my kvm guest with 4 cpus assigned is pinned to all 8 cpus on the host. After a suspend/resume, the same guest (all guests, in fact) will pin all virtual vpus to host cpu0.

Version-Release number of selected component (if applicable):
kernel-3.4.4-4.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1. start multi-cpu guest on multi-cpu host
2. observer virtual cpus pinned to all host cpus
3. suspend/resume host
4. observe virtual cpus pinned to host cpu 0

Actual results:
virtual cpus pinned to cpu0

Expected results:
virtual cpus pinned to all (or configured) cpus

Additional info:
I found this fedora forum post of another user with the same issue: http://forums.fedoraforum.org/archive/index.php/t-278464.html

Comment 1 Robert Story 2012-07-23 19:11:16 UTC
Created attachment 599844 [details]
virt-manager pinning on running guest before suspend

Comment 2 Robert Story 2012-07-23 19:11:58 UTC
Created attachment 599845 [details]
virt manager guest pinning after suspend/resume

Comment 3 Robert Story 2012-07-23 19:12:44 UTC
Created attachment 599846 [details]
/var/log/messages for suspend/resume

Comment 4 Eric Blake 2012-07-23 19:23:54 UTC

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