[PATCH v5 4/5] KVM: x86: let reexecute_instruction work for tdp

2013-01-07 Thread Xiao Guangrong
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

[PATCH v5 4/5] KVM: x86: let reexecute_instruction work for tdp

2013-01-07 Thread Xiao Guangrong
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