KVM: x86: let reexecute_instruction work for tdp
authorXiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Sun, 13 Jan 2013 15:46:52 +0000 (23:46 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 22 Jan 2013 00:58:32 +0000 (22:58 -0200)
Currently, reexecute_instruction refused to retry all instructions if
tdp is enabled. If nested npt is used, the emulation may be caused by
shadow page, it can be fixed by dropping the shadow page. And the only
condition that tdp can not retry the instruction is the access fault
on error pfn

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found