KVM: x86 emulator: emulate CLTS internally
authorAvi Kivity <avi@redhat.com>
Wed, 20 Apr 2011 12:32:49 +0000 (15:32 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 22 May 2011 12:39:14 +0000 (08:39 -0400)
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>

No differences found