diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-08-30 10:56:07 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-08-30 10:56:07 +0200 |
commit | c6066e78f4a66005b0d5d86c6ade32e2ab78923a (patch) | |
tree | 459867cd02ec02d97349a957aca0933a3e7c3c07 /xen/include | |
parent | a497fc19b20e905d3e1b7bf2a845a243d55e0737 (diff) | |
download | xen-c6066e78f4a66005b0d5d86c6ade32e2ab78923a.tar.gz xen-c6066e78f4a66005b0d5d86c6ade32e2ab78923a.tar.bz2 xen-c6066e78f4a66005b0d5d86c6ade32e2ab78923a.zip |
x86/xsave: initialization improvements
- properly validate available feature set on APs
- also validate xsaveopt availability on APs
- properly indicate whether the initialization is on the BSP (we
shouldn't be using "cpu == 0" checks for this)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include')
-rw-r--r-- | xen/include/asm-x86/xstate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/xstate.h b/xen/include/asm-x86/xstate.h index dc3cb8eb75..9bea08b502 100644 --- a/xen/include/asm-x86/xstate.h +++ b/xen/include/asm-x86/xstate.h @@ -82,6 +82,6 @@ int __must_check handle_xsetbv(u32 index, u64 new_bv); /* extended state init and cleanup functions */ void xstate_free_save_area(struct vcpu *v); int xstate_alloc_save_area(struct vcpu *v); -void xstate_init(void); +void xstate_init(bool_t bsp); #endif /* __ASM_XSTATE_H */ |