/*1* kvm asynchronous fault support2*3* Copyright 2010 Red Hat, Inc.4*5* Author:6* Gleb Natapov <[email protected]>7*8* This file is free software; you can redistribute it and/or modify9* it under the terms of version 2 of the GNU General Public License10* as published by the Free Software Foundation.11*12* This program is distributed in the hope that it will be useful,13* but WITHOUT ANY WARRANTY; without even the implied warranty of14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the15* GNU General Public License for more details.16*17* You should have received a copy of the GNU General Public License18* along with this program; if not, write to the Free Software Foundation,19* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.20*/2122#ifndef __KVM_ASYNC_PF_H__23#define __KVM_ASYNC_PF_H__2425#ifdef CONFIG_KVM_ASYNC_PF26int kvm_async_pf_init(void);27void kvm_async_pf_deinit(void);28void kvm_async_pf_vcpu_init(struct kvm_vcpu *vcpu);29#else30#define kvm_async_pf_init() (0)31#define kvm_async_pf_deinit() do{}while(0)32#define kvm_async_pf_vcpu_init(C) do{}while(0)33#endif3435#endif363738