qemuProcessSetEmulatorAffinity() not behaving as expected

Bug #1441781 reported by Chris Friesen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
Unassigned
libvirt
New
Undecided
Unassigned

Bug Description

When running on a 24-CPU host and using vCPU and emulator pinning I've seen cases where the specified emulator pinning isn't applied as expected.

It appears the bug was introduced/uncovered by 411cea6 which moved both qemuSetupCgroupForEmulator() and qemuProcessSetEmulatorAffinity() up before the call to qemuProcessWaitForMonitor(). Reverting this commit makes the problem go away.

It's not obvious why this makes a difference, since the pid had to have been up and running already.

Chris Friesen (cbf123)
description: updated
Chris Friesen (cbf123)
summary: - qemuProcessSetEmulatorAffinity() called before emulator process actually
- running
+ qemuProcessSetEmulatorAffinity() not behaving as expected
description: updated
Changed in qemu:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.