diff options
| author | 2013-01-13 23:49:07 +0800 | |
|---|---|---|
| committer | 2013-01-21 22:58:33 -0200 | |
| commit | 93c05d3ef25275829d421a255271595ac219a518 (patch) | |
| tree | b987097751977ca63bd9a9ef53956cd0d14127c3 /include/linux/stackprotector.h | |
| parent | KVM: x86: let reexecute_instruction work for tdp (diff) | |
KVM: x86: improve reexecute_instruction
The current reexecute_instruction can not well detect the failed instruction
emulation. It allows guest to retry all the instructions except it accesses
on error pfn
For example, some cases are nested-write-protect - if the page we want to
write is used as PDE but it chains to itself. Under this case, we should
stop the emulation and report the case to userspace
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>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
