From: Avi Kivity Date: Wed, 21 Mar 2007 11:44:58 +0000 (+0200) Subject: KVM: Modify guest segments after potentially switching modes X-Git-Tag: v2.6.22-rc1~1008^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=024aa1c02f0a9f938af83f55c727bcb18187eba4;p=pandora-kernel.git KVM: Modify guest segments after potentially switching modes The SET_SREGS ioctl modifies both cr0.pe (real mode/protected mode) and guest segment registers. Since segment handling is modified by the mode on Intel procesors, update the segment registers after the mode switch has taken place. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed