Page 1 of 1

Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 7:05 am
by venuswu
Does qemu support "invlpg" instruction?

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 7:15 am
by Combuster
Have you tried?


What CPUs support INVLPG? What CPU does qemu pretend to be?

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 7:57 am
by iansjack
Yes, it is supported.

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 8:01 am
by Combuster
Learning opportunity spoilt :(

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 8:08 am
by OSwhatever
Does invlpg do anything in qemu or is it bascially a nop?

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 8:53 am
by iansjack
"Learning opportunity spoilt"

Yes, but it's not immediately obvious whether this particular instruction is working correctly. I assume that the OP has a problem with it in qemu and will now come back with the real question.

Re: Does qemu support "invlpg" instruction?

Posted: Tue May 29, 2012 8:54 am
by iansjack
OSwhatever wrote:Does invlpg do anything in qemu or is it bascially a nop?
It would be a bit pointless if it did nothing, wouldn't it?

Re: Does qemu support "invlpg" instruction?

Posted: Wed May 30, 2012 8:14 pm
by Brendan
Hi,
iansjack wrote:
OSwhatever wrote:Does invlpg do anything in qemu or is it bascially a nop?
It would be a bit pointless if it did nothing, wouldn't it?
For Qemu, how many entries does CPUID say the TLB holds?

If a CPU has "0 TLB entries", then what should INVLPG do? ;)


Cheers,

Brendan