From: Sheng Yang <yasker@gmail.com>
To: Bill Rieske <brieske@novell.com>
Cc: kvm@vger.kernel.org
Subject: Re: confused with invept
Date: Sat, 31 Jan 2009 11:18:10 +0800 [thread overview]
Message-ID: <20090131031810.GA10929@yukikaze> (raw)
In-Reply-To: <4982EE2A0200008B00062848@lucius.provo.novell.com>
On Fri, Jan 30, 2009 at 12:10:18PM -0700, Bill Rieske wrote:
> I get the following extracted from dmesg when essentially modprobing kvm_intel. Note: distro using kvm 78
Hi Bill
Are you using Core i7 processor? Only it support EPT. What's your host
kernel version? And I think we can try the latest KVM module first.
> This is what I have derived from objdump -M x86_64,intel -Sl vmx.o
> vmx_init is at 0x2ee + 0x1ec is 4da
> extracted from the objdump
> 4b5: f6 05 00 00 00 00 04 test BYTE PTR ds:0x0,0x4
> 4bc: 74 4d je 50b <init_module+0x21d>
> 4be: 48 c7 44 24 20 00 00 mov QWORD PTR [rsp+32],0x0
> 4c5: 00 00
> 4c7: 48 c7 44 24 28 00 00 mov QWORD PTR [rsp+40],0x0
> 4ce: 00 00
> 4d0: 48 8d 44 24 20 lea rax,[rsp+32]
> 4d5: b9 02 00 00 00 mov ecx,0x2
> 4da: 66 data16
> 4db: 0f 38 80 (bad)
> 4de: 08 77 02 or BYTE PTR [rdi+2],dh
> 4e1: 0f 0b ud2a
> 4e3: eb 26 jmp 50b <init_module+0x21d>
>
> which from what I gather is the instruction for INVEPT opcode 660f3880
> from what I can tell from the code I shouldn't invoke this instruction if the bit isn't valid from
> ept_sync_global();
Sure. The bit should be filled by setup_vmcs_config() in vmx.c. I hope the
vmx_capability haven't been corrupted...
> from what I gather it's faulting in the __invept or am I totally down the wrong path.
> Any Ideas on whats going on would be helpful or how I should proceed.
>
Please help to identify your processor, the value of vmx_capability.ept and
try latest KVM.
Thanks.
--
regards
Yang, Sheng |Intel Opensource Technology Center
next prev parent reply other threads:[~2009-01-31 3:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-30 19:10 confused with invept Bill Rieske
2009-01-31 3:18 ` Sheng Yang [this message]
2009-02-02 18:09 ` Bill Rieske
2009-02-03 2:19 ` Sheng Yang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090131031810.GA10929@yukikaze \
--to=yasker@gmail.com \
--cc=brieske@novell.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox