commit | ca7d58f375c650cf36900cb1da1ca2cc99b13393 | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Wed Jul 13 14:31:08 2011 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Sep 25 19:17:17 2011 +0300 |
tree | df36edae4b8426061119b876fcbd3f0d0eb2251a | |
parent | 9be3be1f153e90ea4e1e5b6ed1d72a73d44318d1 [diff] |
KVM: x86: fix broken read emulation spans a page boundary If the range spans a page boundary, the mmio access can be broke, fix it as write emulation. And we already get the guest physical address, so use it to read guest data directly to avoid walking guest page table again Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>