commit | 024aa1c02f0a9f938af83f55c727bcb18187eba4 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Mar 21 13:44:58 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu May 03 10:52:26 2007 +0300 |
tree | 9b431c38f5fc673f7c494bd39a87c12063745d47 | |
parent | f6528b03f167785301908bf124db7be591e983ca [diff] |
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 <avi@qumranet.com>