[PATCH 2/8] KVM: gmem: removed duplicated kvm_gmem_init()
From: isaku . yamahata
Date: Tue Aug 15 2023 - 13:20:11 EST
From: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
Reported-by: Xiaoyao Li <xiaoyao.li@xxxxxxxxx>
Signed-off-by: Isaku Yamahata <isaku.yamahata@xxxxxxxxx>
---
virt/kvm/kvm_main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index ee331cf8ba54..8bfeb615fc4d 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -6308,7 +6308,6 @@ int kvm_init(unsigned vcpu_size, unsigned vcpu_align, struct module *module)
kvm_preempt_ops.sched_out = kvm_sched_out;
kvm_init_debug();
- kvm_gmem_init();
r = kvm_vfio_ops_init();
if (WARN_ON_ONCE(r))
--
2.25.1