Bug 1292386 - The numa topology in HMP not consistent with qemu cmdline when use two nodes
The numa topology in HMP not consistent with qemu cmdline when use two nodes
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.8
x86_64 Linux
unspecified Severity medium
: rc
: ---
Assigned To: Eduardo Habkost
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-12-17 04:44 EST by Yumei Huang
Modified: 2016-01-20 13:34 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-01-20 13:34:34 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Yumei Huang 2015-12-17 04:44:52 EST
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 13:34:34 EST
(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.