Bug 801727

Summary: qemu-kvm should export max_cpus in FW_CFG_NUMA
Product: Red Hat Enterprise Linux 6 Reporter: Laszlo Ersek <lersek>
Component: qemu-kvmAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: acathrow, areis, bsarathy, ehabkost, juzhang, mkenneth, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-30 16:44:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Laszlo Ersek 2012-03-09 09:42:39 UTC
(1) Backport upstream 991dfefd.

(2) Upstream needs a patch for round-robin VCPU distribution over the NUMA nodes:

        if (i == nb_numa_nodes) {
            for (i = 0; i < max_cpus; i++) {
                node_cpumask[i % nb_numa_nodes] |= 1 << i;
            }
        }

- replicate check for max. 64 VCPUs as seen in numa_add()
- make sure LHS of bit-shift is 1ULL (as seen in numa_add().

(BZ reported at upstream state 99c7f878.)

Comment 3 RHEL Program Management 2012-07-10 08:26:55 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2012-07-11 02:03:19 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 7 Laszlo Ersek 2012-10-30 16:44:25 UTC
This bug is fixed as a side-effect of bug 733720. However I'm not marking this as either duplicate or TestOnly: the fix for bug 733720 follows a different design. It actually makes this BZ invalid -- in reality qemu-kvm should *not* export max_cpus in FW_CFG_NUMA, it should do instead what the bug 733720 fix does.