* [PATCH] KVM: x86: export get_xsave_addr
@ 2014-11-24 10:04 Paolo Bonzini
2014-11-24 10:45 ` Thomas Gleixner
0 siblings, 1 reply; 3+ messages in thread
From: Paolo Bonzini @ 2014-11-24 10:04 UTC (permalink / raw)
To: linux-kernel, kvm; +Cc: x86, H. Peter Anvin
get_xsave_addr is the API to access XSAVE states, and KVM would
like to use it. Export it.
Cc: x86@kernel.org
Cc: H. Peter Anvin <hpa@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
Peter, can you please ACK this for inclusion in the KVM tree?
Thanks.
---
arch/x86/kernel/xsave.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c
index 4c540c4719d8..0de1fae2bdf0 100644
--- a/arch/x86/kernel/xsave.c
+++ b/arch/x86/kernel/xsave.c
@@ -738,3 +738,4 @@ void *get_xsave_addr(struct xsave_struct *xsave, int xstate)
return (void *)xsave + xstate_comp_offsets[feature];
}
+EXPORT_SYMBOL_GPL(get_xsave_addr);
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: x86: export get_xsave_addr
2014-11-24 10:04 [PATCH] KVM: x86: export get_xsave_addr Paolo Bonzini
@ 2014-11-24 10:45 ` Thomas Gleixner
2014-11-24 10:45 ` Paolo Bonzini
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Gleixner @ 2014-11-24 10:45 UTC (permalink / raw)
To: Paolo Bonzini; +Cc: linux-kernel, kvm, x86, H. Peter Anvin
On Mon, 24 Nov 2014, Paolo Bonzini wrote:
> get_xsave_addr is the API to access XSAVE states, and KVM would
> like to use it. Export it.
>
> Cc: x86@kernel.org
> Cc: H. Peter Anvin <hpa@linux.intel.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> Peter, can you please ACK this for inclusion in the KVM tree?
Are you content with my acked-by as well?
Acked-by: Thomas Gleixner <tglx@linutronix.de>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] KVM: x86: export get_xsave_addr
2014-11-24 10:45 ` Thomas Gleixner
@ 2014-11-24 10:45 ` Paolo Bonzini
0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2014-11-24 10:45 UTC (permalink / raw)
To: Thomas Gleixner; +Cc: linux-kernel, kvm, x86, H. Peter Anvin
On 24/11/2014 11:45, Thomas Gleixner wrote:
> On Mon, 24 Nov 2014, Paolo Bonzini wrote:
>> get_xsave_addr is the API to access XSAVE states, and KVM would
>> like to use it. Export it.
>>
>> Cc: x86@kernel.org
>> Cc: H. Peter Anvin <hpa@linux.intel.com>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>> Peter, can you please ACK this for inclusion in the KVM tree?
>
> Are you content with my acked-by as well?
>
> Acked-by: Thomas Gleixner <tglx@linutronix.de>
Sure. :)
Paolo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-24 10:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-24 10:04 [PATCH] KVM: x86: export get_xsave_addr Paolo Bonzini
2014-11-24 10:45 ` Thomas Gleixner
2014-11-24 10:45 ` Paolo Bonzini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.