KVM: PPC: Add hidden flag for paired singles
authorAlexander Graf <agraf@suse.de>
Fri, 19 Feb 2010 10:00:32 +0000 (11:00 +0100)
committerAvi Kivity <avi@redhat.com>
Sun, 25 Apr 2010 09:34:50 +0000 (12:34 +0300)
commit3c402a75ea66e7aafa212077d1f93f1b560d0bd0
tree9495dd20f1621db0c02f79b71b29053ce6ed4292
parent37f5bca64e206ed97e53f734d7de5b7c5ade3578
KVM: PPC: Add hidden flag for paired singles

The Gekko implements an extension called paired singles. When the guest wants
to use that extension, we need to make sure we're not running the host FPU,
because all FPU instructions need to get emulated to accomodate for additional
operations that occur.

This patch adds an hflag to track if we're in paired single mode or not.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm_asm.h
arch/powerpc/kvm/book3s.c