]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Use alignment properties of vcpu to simplify FPU ops
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 30 Jul 2007 11:13:43 +0000 (21:13 +1000)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:21 +0000 (10:18 +0200)
commit573ef26edf09af30433f5f3c77abbc1986c02d2a
tree4e5ced9ed1cdb673d27b26b166cd0bd7c845d5b9
parentddcd045529785a9092e77fc2ba22513df5ecb83c
KVM: Use alignment properties of vcpu to simplify FPU ops

Now we use a kmem cache for allocating vcpus, we can get the 16-byte
alignment required by fxsave & fxrstor instructions, and avoid
manually aligning the buffer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c