x86/virt, x86/platform: Add ->guest_late_init() callback to hypervisor_x86 structure
authorJuergen Gross <jgross@suse.com>
Thu, 9 Nov 2017 13:27:38 +0000 (14:27 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 10 Nov 2017 09:03:13 +0000 (10:03 +0100)
commitf3614646005a1b59f836ff54351c9bd2224b6005
treebe6a0a7bb0c3a7c96f7862fd31761f5c6babb67c
parent6d7305254ea947d575a066711c3349fafbebaffa
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>
arch/x86/include/asm/kvm_para.h
arch/x86/include/asm/x86_init.h
arch/x86/kernel/kvm.c
arch/x86/kernel/setup.c
arch/x86/kernel/x86_init.c