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 1292386 - The numa topology in HMP not consistent with qemu cmdline when use two nodes
Summary: The numa topology in HMP not consistent with qemu cmdline when use two nodes
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-17 09:44 UTC by Yumei Huang
Modified: 2016-01-20 18:34 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-20 18:34:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yumei Huang 2015-12-17 09:44:52 UTC
Description of problem:
When start a qemu process with two nodes, the numa topology in HMP is not consistent with the cmdline.

Version-Release number of selected component (if applicable):
kernel: 2.6.32-593.el6.x86_64
qemu: qemu-kvm-0.12.1.2-2.481.el6

How reproducible:
always

Steps to Reproduce:
1. start a qemu process with two nodes:
 #/usr/libexec/qemu-kvm -name win10 -m 2G -smp 6 \
-numa node,cpus=0~2,mem=1024,nodeid=0 -numa node,cpus=3~5,mem=1024,nodeid=1 -monitor stdio

2. check numa in HMP
  (qemu) info numa

3.

Actual results:
(qemu) info numa
2 nodes
node 0 cpus: 0 1 2 4 5
node 0 size: 1024 MB
node 1 cpus: 3
node 1 size: 1024 MB

Expected results:
node 0 cpus: 0 1 2 
node 1 cpus: 3 4 5

Additional info:

Comment 2 Eduardo Habkost 2016-01-20 18:34:34 UTC
(In reply to Yumei Huang from comment #0)
> 1. start a qemu process with two nodes:
>  #/usr/libexec/qemu-kvm -name win10 -m 2G -smp 6 \
> -numa node,cpus=0~2,mem=1024,nodeid=0 -numa node,cpus=3~5,mem=1024,nodeid=1
> -monitor stdio

Invalid command-line. It should be:
 -numa node,cpus=0-2,mem=1024,nodeid=0 -numa node,cpus=3-5,mem=1024,nodeid=1

Newer QEMU versions warn about invalid command lines like these, but we won't backport command-line usability changes to RHEL6 unless really necessary.


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