From 78e9878cb376969d184a4b7fff392528fe17a3ce Mon Sep 17 00:00:00 2001 From: David Woodhouse Date: Tue, 2 Feb 2021 13:19:35 +0000 Subject: KVM: x86/xen: Move KVM_XEN_HVM_CONFIG handling to xen.c This is already more complex than the simple memcpy it originally had. Move it to xen.c with the rest of the Xen support. Signed-off-by: David Woodhouse --- arch/x86/kvm/xen.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/x86/kvm/xen.h') diff --git a/arch/x86/kvm/xen.h b/arch/x86/kvm/xen.h index 276ed59e476b..28e9c9892628 100644 --- a/arch/x86/kvm/xen.h +++ b/arch/x86/kvm/xen.h @@ -11,6 +11,7 @@ int kvm_xen_hypercall(struct kvm_vcpu *vcpu); int kvm_xen_write_hypercall_page(struct kvm_vcpu *vcpu, u64 data); +int kvm_xen_hvm_config(struct kvm *kvm, struct kvm_xen_hvm_config *xhc); static inline bool kvm_xen_hypercall_enabled(struct kvm *kvm) { -- cgit v1.2.1