]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Allow Qemu/KVM to use PVH entry point
authorMaran Wilson <maran.wilson@oracle.com>
Mon, 10 Dec 2018 19:09:35 +0000 (11:09 -0800)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Thu, 13 Dec 2018 18:41:49 +0000 (13:41 -0500)
commit76f1654433fbd4bd3e88c5b9476ae03b147cfb2d
tree8f9e1f7165dde6f8db3f4f5358c5296d94eeee44
parente7fce0f04b0f6a1bbe2326028f17a48cb0e09b7f
KVM: x86: Allow Qemu/KVM to use PVH entry point

For certain applications it is desirable to rapidly boot a KVM virtual
machine. In cases where legacy hardware and software support within the
guest is not needed, Qemu should be able to boot directly into the
uncompressed Linux kernel binary without the need to run firmware.

There already exists an ABI to allow this for Xen PVH guests and the ABI
is supported by Linux and FreeBSD:

   https://xenbits.xen.org/docs/unstable/misc/pvh.html

This patch enables Qemu to use that same entry point for booting KVM
guests.

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