Description of problem: Bug 573771 adds IsVM test support for guest. However this is found not working for HVM on an AMD CPU. Version-Release number of selected component (if applicable): kernel-xen-2.6.18-238.el5 How reproducible: Always on AMD. Steps to Reproduce: In the HVM guest, run the code attached in bug 573771. It outputs HVM guest, hypervisor present bit *NOT* set or $ x86info -r | grep 0x00000001 eax in: 0x00000001, eax = 00100f23 ebx = 02010800 ecx = 00002001 edx = 0789fbff see bit 31 of ecx is not set.
Created attachment 471812 [details] fix for the bug Alternatively, one could backport c/s 16990 from upstream.
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release.
in kernel-2.6.18-243.el5 You can download this test kernel (or newer) from http://people.redhat.com/jwilson/el5 Detailed testing feedback is always welcomed.
Test with kernel 2.6.18-243.el5xen, ISVM bit is set on AMD cpu now, run the program attached in but 573771 comment 1 will get the output: HVM guest, hypervisor present bit set change to VERIFIED.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-1065.html