From: Xiao Guangrong Date: Wed, 13 Jul 2011 06:31:08 +0000 (+0800) Subject: KVM: x86: fix broken read emulation spans a page boundary X-Git-Tag: v3.2-rc1~119^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca7d58f375c650cf36900cb1da1ca2cc99b13393;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed