commit | 2d04a05bd7e93c13f13a82ac40de4065a99d069b | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Wed Apr 20 15:32:49 2011 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun May 22 08:39:14 2011 -0400 |
tree | 6fc122171050ca4b0a6aca5ab5aeb8d94add0108 | |
parent | fd72c4192220d0086fb24356ac6ff9c3b1e067d9 [diff] |
KVM: x86 emulator: emulate CLTS internally Avoid using ctxt->vcpu; we can do everything with ->get_cr() and ->set_cr(). A side effect is that we no longer activate the fpu on emulated CLTS; but that should be very rare. Signed-off-by: Avi Kivity <avi@redhat.com>