From: Avi Kivity Date: Mon, 3 Jan 2011 12:28:52 +0000 (+0200) Subject: KVM: VMX: Avoid leaking fake realmode state to userspace X-Git-Tag: v2.6.39-rc1~436^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9179499350d30446d8983d272a9157963604b0f;p=pandora-kernel.git KVM: VMX: Avoid leaking fake realmode state to userspace When emulating real mode, we fake some state: - tr.base points to a fake vm86 tss - segment registers are made to conform to vm86 restrictions change vmx_get_segment() not to expose this fake state to userspace; instead, return the original state. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed