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 960216 - SEP flag behavior for CPU models of RHEL6 machine types should be compatible
Summary: SEP flag behavior for CPU models of RHEL6 machine types should be compatible
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Bandan Das
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 983991
Blocks: 880485 987757
TreeView+ depends on / blocked
 
Reported: 2013-05-06 17:33 UTC by Bandan Das
Modified: 2014-06-18 03:27 UTC (History)
7 users (show)

Fixed In Version: qemu-kvm-1.5.2-4.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:29:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Bandan Das 2013-05-06 17:33:23 UTC
Description of problem:

Bug 745717 disabled exporting SEP to guest CPUs for RHEL 6.4 (machine types) and below. Bug 821741 is tracking a change to enable it back on RHEL 6.5 machine types since the corresponding kernel bug 821463 has since been fixed. We should have similar behavior for RHEL6 machine types in RHEL7 as well.

Adding additional comments from bug 821741 for context since bugzilla won't let me clone that bug :

SEP flag was so far disabled in RHEL 6 64 bit hosts , it is planned to be fixed.
Migration from host with SEP to host without SEP will fail for 32bit guests.
We need to disable SEP for machine type older than rhel6.4.0
Additional info:

--- Additional comment from Eduardo Habkost on 2012-10-08 17:39:29 EDT ---

Changing summary for clarity.

SEP was disabled as part of the fix for Bug 745717 (making migration work properly). This bug is about enabling the feature on hosts that have the SEP feature enabled.

--- Additional comment from Eduardo Habkost on 2012-11-27 12:44:19 EST ---

*** Bug 880090 has been marked as a duplicate of this bug. ***

--- Additional comment from Eduardo Habkost on 2012-11-27 12:47:55 EST ---

Please try to reproduce bug 880090 using only 6.3.z packages, to confirm this is not a regression.

--- Additional comment from Geyang Kong on 2012-11-28 04:30:13 EST ---

This bug can be reproduced by 6.3.z packages

libvirt-0.9.10-21.el6_3.6.x86_64
qemu-kvm-0.12.1.2-2.295.el6_3.2.x86_64
kernel-2.6.32-279.14.1.el6.x86_64

--- Additional comment from Mike Cao on 2012-12-25 02:49:14 EST ---

snip from Bug 880090

>Eduardo Habkost 2012-11-28 01:25:02 CST
>I could reproduce the issue using qemu-kvm-0.12.1.2-2.316.el6.x86_64, running >kernel 2.6.32-279.el6.x86_64 on the host, so it doesn't seem to be a regression.


What you did it hitting https://bugzilla.redhat.com/show_bug.cgi?id=832301 ,we should reproduce it on the kernel higher than build 307 instead of using 279.

According to sluo's report in https://bugzilla.redhat.com/show_bug.cgi?id=880090
qemu-kvm-0.12.1.2-2.320 + SandyBridge -------> fail
qemu-kvm-0.12.1.2-2.319 + SandyBridge -------> pass

This is a regression bug from build qemu-kvm-320 

move the product flag to rhel6.4.0 .

Mike

--- Additional comment from Ademar de Souza Reis Jr. on 2013-01-02 16:13:07 EST ---

Clarifiying a few issues, please correct me if I'm wrong:

The MS certifications is about the drivers only, not the hypervisor configuration, so we should be fine in adding -cpu ... +sep to qemu cmd line

The problem affects only 32bits versions of win8 (SEP is not used in 64bits mode).

So, the impact of this bug is:

 - win8 32 bit won't boot out of the box
 - it won't affect certification of the drivers
 - win2k12 is x64 only, so it's not affected

--- Additional comment from juzhang on 2013-01-04 00:48:19 EST ---

(In reply to comment #15)
> Clarifiying a few issues, please correct me if I'm wrong:
> 
> The MS certifications is about the drivers only, not the hypervisor
> configuration, so we should be fine in adding -cpu ... +sep to qemu cmd line
> 
> The problem affects only 32bits versions of win8 (SEP is not used in 64bits
> mode).
Does libvirt or rhelm will boot guest with +sep by default? If no, seems need to file separate against libvirt and rhelm.

--- Additional comment from Eduardo Habkost on 2013-01-04 04:27:21 EST ---

(In reply to comment #16)
> (In reply to comment #15)
> > Clarifiying a few issues, please correct me if I'm wrong:
> > 
> > The MS certifications is about the drivers only, not the hypervisor
> > configuration, so we should be fine in adding -cpu ... +sep to qemu cmd line
> > 
> > The problem affects only 32bits versions of win8 (SEP is not used in 64bits
> > mode).
> Does libvirt or rhelm will boot guest with +sep by default? If no, seems
> need to file separate against libvirt and rhelm.

They don't, but this is why this is a qemu-kvm bug, not a libvirt bug. They (correctly) do not expect +sep to be necessary as SEP is supposed to be included in the predefined CPU models.

--- Additional comment from Alves on 2013-02-01 11:02:06 EST ---

I am affected by this bug. Is there work around with RHEL 6.3 under the current kernel 2.6.32-279.19.1.el6.x86_64 ? I can upgrade to a beta version of the kernel if necessary. Please advise.

--- Additional comment from Alves on 2013-02-04 01:45:55 EST ---

Dear Gentlemen, please raise alert. I installed a server with Beta 6.4, and the bug is still there. I tried also forcing NX and SEP, but the same issue. So this is not fixed. I can give access to Redhat engineer to my system via VNC, so he may see the problem.
Should I open a new bug or we may continue here??

If we don't fix KVM, the enterprise is going ignore it.

--- Additional comment from Mike Cao on 2013-02-04 02:05:03 EST ---

(In reply to comment #19)
> Dear Gentlemen, please raise alert. I installed a server with Beta 6.4, and
> the bug is still there. I tried also forcing NX and SEP, but the same issue.
> So this is not fixed. I can give access to Redhat engineer to my system via
> VNC, so he may see the problem.
> Should I open a new bug or we may continue here??
> 
> If we don't fix KVM, the enterprise is going ignore it.

I can not reproduce your issue w/ 2.6.32-338.el6.x86_64 & qemu-kvm-rhev-0.12.1.2-2.331.el6.x86_64 /

Pls provide your qemu-kvm commandline,qemu-kvm(-rhev) & kernel version

Comment 2 Miroslav Rezanina 2013-08-20 08:46:08 UTC
Fix included in qemu-kvm-1.5.2-4.el7

Comment 4 Qunfang Zhang 2014-01-14 07:13:08 UTC
Verified this bug on qemu-kvm-1.5.3-35.el7.x86_64.

1. Install a win8-32 guest.
(Do not append additional "+sep" flag to -cpu)

(1) with "-M rhel6.0.0": Failed to install or boot.
(2) with "-M rhel6.1.0": Failed to install or boot.
(3) with "-M rhel6.2.0": Failed to install or boot.
(4) with "-M rhel6.3.0": Failed to install or boot.
(5) with "-M rhel6.4.0": Failed to install or boot.
(6) with "-M rhel6.5.0": Guest could be installed, reboot, shutdown successfully.
(7) with "-M pc": Guest could be installed, reboot, shutdown successfully.
(8) with "-M q35":  Guest could be installed, reboot, shutdown successfully.

2. Install a win8.1-32 guest. 

Test all the (1) ~ (6) above, all have same results with win8-32 guest. 

3. Migrate a win8-32 guest on 7.0 host with "-M rhel6.5.0" and "-M pc" separately.  Migration finish successfully and guest work well.

4. Migrate a RHEL6.6 guest on 7.0 host with "-M rhel6.5.0" and "-M pc" separately.  Migration finish successfully and guest work well. Compare the "x86info -v -a" output before and after migration, the guest cpu flags do not change.

So, based on above, the bug is fixed.

Comment 5 Ludek Smid 2014-06-13 10:29:41 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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