From: Gleb Natapov Date: Wed, 10 Feb 2010 12:21:32 +0000 (+0200) Subject: KVM: x86 emulator: fix memory access during x86 emulation X-Git-Tag: v2.6.34-rc1~193^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1871c6020d7308afb99127bba51f04548e7ca84e;p=pandora-kernel.git KVM: x86 emulator: fix memory access during x86 emulation Currently when x86 emulator needs to access memory, page walk is done with broadest permission possible, so if emulated instruction was executed by userspace process it can still access kernel memory. Fix that by providing correct memory access to page walker during emulation. Signed-off-by: Gleb Natapov Cc: stable@kernel.org Signed-off-by: Avi Kivity --- Reading git-diff-tree failed