Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * kvm asynchronous fault support
0004  *
0005  * Copyright 2010 Red Hat, Inc.
0006  *
0007  * Author:
0008  *      Gleb Natapov <gleb@redhat.com>
0009  */
0010 
0011 #ifndef __KVM_ASYNC_PF_H__
0012 #define __KVM_ASYNC_PF_H__
0013 
0014 #ifdef CONFIG_KVM_ASYNC_PF
0015 int kvm_async_pf_init(void);
0016 void kvm_async_pf_deinit(void);
0017 void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);
0018 #else
0019 #define kvm_async_pf_init() (0)
0020 #define kvm_async_pf_deinit() do {} while (0)
0021 #define kvm_async_pf_vcpu_init(C) do {} while (0)
0022 #endif
0023 
0024 #endif