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 1292678 - Qemu should report error when cmdline set threads=2 in amd host
Summary: Qemu should report error when cmdline set threads=2 in amd host
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.8
Hardware: x86_64
OS: Linux
high
low
Target Milestone: rc
: ---
Assignee: Wei Huang (AMD)
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 1359965
TreeView+ depends on / blocked
 
Reported: 2015-12-18 03:09 UTC by Yumei Huang
Modified: 2017-03-21 09:35 UTC (History)
19 users (show)

Fixed In Version: qemu-kvm-0.12.1.2-2.495.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 09:35:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0621 0 normal SHIPPED_LIVE Moderate: qemu-kvm security and bug fix update 2017-03-21 12:28:31 UTC

Description Yumei Huang 2015-12-18 03:09:17 UTC
Description of problem:
In amd host, when qemu cmdline set threads=2, qemu should report " AMD CPU doesn't support hyperthreading", just like rhel7.2. 

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 threads=2
  /usr/libexec/qemu-kvm -name win10 -m 6G -smp 2,threads=2,cores=1,sockets=1 -numa node -numa node  -monitor stdio

2. 
3.

Actual results:
Qemu report nothing.


Expected results:
Qemu should report error, just like rhel7.2:
qemu-kvm: AMD CPU doesn't support hyperthreading. Please configure -smp options properly.

Additional info:

Comment 2 Wei Huang (AMD) 2015-12-21 16:04:49 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=1135772.

I will get a patch for 6.8. Please assign it to me.

-Wei

Comment 3 Jeff Nelson 2016-01-18 21:51:47 UTC
Fix included in qemu-kvm-0.12.1.2-2.484.el6

Comment 5 Guo, Zhiyi 2016-01-20 05:31:39 UTC
Test on qemu-kvm version:qemu-kvm-0.12.1.2-2.482.el6.x86_64
No warning output after lunch qemu-kvm:
# /usr/libexec/qemu-kvm -name win10 -m 6G -smp 2,threads=2,cores=1,sockets=1
VNC server running on `::1:5900'
Verified on qemu-kvm version:qemu-img-0.12.1.2-2.484.el6.x86_64:
Warning output after lunch qemu-kvm:
# /usr/libexec/qemu-kvm -name win10 -m 6G -smp 2,threads=2,cores=1,sockets=1
qemu-kvm: AMD CPU doesn't support hyperthreading. Please configure -smp options properly.

Comment 14 Yash Mankad 2016-10-27 20:32:41 UTC
Fix included in qemu-kvm-0.12.1.2-2.495.el6

Comment 16 Yiqian Wei 2016-10-28 09:19:42 UTC
Reproduce:
host version:
  kernel-2.6.32-642.el6.x86_64
  qemu-kvm-0.12.1.2-2.494.el6.x86_64
Steps to Reproduce:
1.start a qemu process with threads=2 
# /usr/libexec/qemu-kvm -name win10 -m 6G -smp 2,threads=2,cores=1,sockets=1
VNC server running on `::1:5900'

Actual results:
Qemu report nothing.

------------------------------------

Verify this bug on "qemu-kvm-0.12.1.2-2.495.el6.x86_64" as same steps above.

Test results:Qemu report error
# /usr/libexec/qemu-kvm -name win10 -m 6G -smp 2,threads=2,cores=1,sockets=1
qemu-kvm: AMD CPU doesn't support hyperthreading. Please configure -smp options properly.

According to result above,this bug has been fixed.

Comment 19 errata-xmlrpc 2017-03-21 09:35:46 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0621.html


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