From: Avi Kivity <avi@qumranet.com>
To: "Yang, Sheng" <sheng.yang@intel.com>
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: [PATCH 6/6] kvm: qemu: Enable EPT support for real mode
Date: Thu, 24 Apr 2008 10:59:24 +0300 [thread overview]
Message-ID: <48103DDC.2050201@qumranet.com> (raw)
In-Reply-To: <200804241557.51359.sheng.yang@intel.com>
Yang, Sheng wrote:
> On Thursday 24 April 2008 15:37:53 Avi Kivity wrote:
>
>> Yang, Sheng wrote:
>>
>>>> Why not use ept_identity_pagetable != NULL to encode
>>>> ept_identity_pagetable_done?
>>>>
>>> ept_identity_pagetable_done was used to indicate if the pagetable was
>>> setted up, and ept_identity_pagetable was used to indicate if the page
>>> used for pagetable was allocated... I don't want to run
>>> alloc_identity_pagetable() again and again and again... Another method is
>>> read several bits at the front of page to tell if the pagetable was
>>> setted up, but somehow tricky...
>>>
>> No, better to avoid tricks. But rmode_tss is only allocated once, so if
>> you unify the allocations, the identity table will also only be
>> allocated once.
>>
>
> But set_tss_addr() is a x86_ops, if the identity mapping allocation using the
> same approach, another null function should be added into SVM side, but this
> thing is VMX specific one...
>
We could rename set_tss_addr() to mean
set_tss_and_ept_identity_pt_addr(), but it looks like the ioctl expects
just three pages... so let's keep the flag for now.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
prev parent reply other threads:[~2008-04-24 7:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-18 9:30 [PATCH 6/6] kvm: qemu: Enable EPT support for real mode Yang, Sheng
2008-04-22 10:16 ` Avi Kivity
2008-04-24 6:59 ` Yang, Sheng
2008-04-24 7:15 ` Avi Kivity
2008-04-24 7:29 ` Yang, Sheng
2008-04-24 7:37 ` Avi Kivity
2008-04-24 7:57 ` Yang, Sheng
2008-04-24 7:59 ` Avi Kivity [this message]
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=48103DDC.2050201@qumranet.com \
--to=avi@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
--cc=sheng.yang@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.