]> git.baikalelectronics.ru Git - kernel.git/commit
xen/pvh: Move Xen specific PVH VM initialization out of common file
authorMaran Wilson <maran.wilson@oracle.com>
Mon, 10 Dec 2018 19:08:45 +0000 (11:08 -0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 13 Dec 2018 18:41:49 +0000 (13:41 -0500)
commit2fba8aaa7a7c7d8486ff92be0482b5822388ff0b
tree13a789aad069c68c3deb6ae8b838bf379476ff23
parentfa00e0fce22a98f087ba5af5aea5881f18310aa2
xen/pvh: Move Xen specific PVH VM initialization out of common file

We need to refactor PVH entry code so that support for other hypervisors
like Qemu/KVM can be added more easily.

This patch moves the small block of code used for initializing Xen PVH
virtual machines into the Xen specific file. This initialization is not
going to be needed for Qemu/KVM guests. Moving it out of the common file
is going to allow us to compile kernels in the future without CONFIG_XEN
that are still capable of being booted as a Qemu/KVM guest via the PVH
entry point.

Signed-off-by: Maran Wilson <maran.wilson@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
arch/x86/platform/pvh/enlighten.c
arch/x86/xen/enlighten_pvh.c
include/xen/xen.h