On Thu, May 31, 2012 at 6:39 AM, ���f任 (Wei-Ren Chen)
<[email protected]> wrote:
> On Wed, May 30, 2012 at 11:09:23PM +0400, Max Filippov wrote:
>> On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 <[email protected]> wrote:
>> >
>> > Hello, Does qemu support invlpg instruction?
>>
>> Yes, it does. You can grep target-i386/translate.c for the word
>> 'invlpg' to see how it is decoded
>> and see helper_invlpg function in the target-i386/op_helper.c to see
>> how it is implemented.
>
> FWIW. Currently, QEMU just flush the entire tlb (env->tlb_table).
>
Hmmm, does it?
void helper_invlpg(target_ulong addr)
{
helper_svm_check_intercept_param(SVM_EXIT_INVLPG, 0);
tlb_flush_page(env, addr);
}
--
Thanks.
-- Max