lkml.org 
[lkml]   [2021]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH] kvm: add suspend pm-notifier
From
Date
On 04/06/21 02:39, Sergey Senozhatsky wrote:
>>>
>>> +void kvm_arch_pm_notifier(struct kvm *kvm)
>>> +{
>>> +}
>>> +
>>> long kvm_arch_vm_ioctl(struct file *filp,
>>> unsigned int ioctl, unsigned long arg)
>>> {
>> What looks like you wants a __weak function.
> True. Thanks for the suggestion.
>
> I thought about it, but I recalled that tglx had __strong opinions
> on __weak functions.
>

Alternatively, you can add a Kconfig symbol to virt/kvm/Kconfig and
select it from arch/x86/kvm.

Paolo

\
 
 \ /
  Last update: 2021-06-04 09:19    [W:0.294 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site