KVM: x86: retry non-page-table writing instructions
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 22 Sep 2011 09:02:48 +0000 (17:02 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 27 Dec 2011 09:16:50 +0000 (11:16 +0200)
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>

No differences found