Re: [PATCH] x86/kvm: make steal_time static
From: Paolo Bonzini
Date: Thu Apr 16 2020 - 07:19:14 EST
On 16/04/20 04:15, Jason Yan wrote:
>>
>
> Sorry that I found 14e581c381b9 ("x86/kvm: Make steal_time visible")
> said that it is used by assembler code but I didn't find where.
> Please drop this patch if it's true.
>
> Sorry to make this trouble again.
Here:
arch/x86/kernel/kvm.c:"cmpb $0, " __stringify(KVM_STEAL_TIME_preempted) "+steal_time(%rax);"
The __visible argument shouldn't be needed, __used should be enough. I'll take a look.
Paolo