x86/virt, x86/platform: Add ->guest_late_init() callback to hypervisor_x86 structure
Add a new guest_late_init callback to the hypervisor_x86 structure. It will replace the current kvm_guest_init() call which is changed to make use of the new callback. Signed-off-by:Juergen Gross <jgross@suse.com> Acked-by:
Thomas Gleixner <tglx@linutronix.de> Acked-by:
Paolo Bonzini <pbonzini@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: kvm@vger.kernel.org Cc: rkrcmar@redhat.com Link: http://lkml.kernel.org/r/20171109132739.23465-5-jgross@suse.com Signed-off-by:
Ingo Molnar <mingo@kernel.org>
Showing
- arch/x86/include/asm/kvm_para.h 0 additions, 2 deletionsarch/x86/include/asm/kvm_para.h
- arch/x86/include/asm/x86_init.h 2 additions, 0 deletionsarch/x86/include/asm/x86_init.h
- arch/x86/kernel/kvm.c 2 additions, 1 deletionarch/x86/kernel/kvm.c
- arch/x86/kernel/setup.c 1 addition, 1 deletionarch/x86/kernel/setup.c
- arch/x86/kernel/x86_init.c 1 addition, 0 deletionsarch/x86/kernel/x86_init.c
Please register or sign in to comment