commit | 1cb3f3ae5a3855ba430430706da4201ace1d6ec4 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Thu Sep 22 17:02:48 2011 +0800 |
committer | Avi Kivity <avi@redhat.com> | Tue Dec 27 11:16:50 2011 +0200 |
tree | 1ff844904958cf669c86650da4601eb392f14a91 | |
parent | d5ae7ce835cc89556dc18e2070e754f026402efa [diff] |
KVM: x86: retry non-page-table writing instructions If the emulation is caused by #PF and it is non-page_table writing instruction, it means the VM-EXIT is caused by shadow page protected, we can zap the shadow page and retry this instruction directly The idea is from Avi Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>