On Thu, May 31, 2012 at 6:39 AM, ���f任 (Wei-Ren Chen)
<che...@iis.sinica.edu.tw> wrote:
> On Wed, May 30, 2012 at 11:09:23PM +0400, Max Filippov wrote:
>> On Wed, May 30, 2012 at 5:19 PM, 吴晓琳 <venusr...@yahoo.cn> 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

Reply via email to