]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Add support for FPU/Altivec/VSX
authorAlexander Graf <agraf@suse.de>
Fri, 15 Jan 2010 13:49:11 +0000 (14:49 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 1 Mar 2010 15:35:52 +0000 (12:35 -0300)
commit2adfda3a55ce2644a0ba4d3e2321e621bb57b164
treed55552acc176645c374496b988823071e50bca23
parent3eaa919b14b8c9dfdd2f35010d7dfc579b3342ce
KVM: PPC: Add support for FPU/Altivec/VSX

When our guest starts using either the FPU, Altivec or VSX we need to make
sure Linux knows about it and sneak into its process switching code
accordingly.

This patch makes accesses to the above parts of the system work inside the
VM.

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