Skip to content
Commit b114b080 authored by Rusty Russell's avatar Rusty Russell Committed by Avi Kivity
Browse files

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: default avatarRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent c16f862d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment