]> 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)
commit35698c35e70080065adc5800b33a4e4067079ef2
tree8f9e1f7165dde6f8db3f4f5358c5296d94eeee44
parent076afb1ea320e21c15f8c8e52cf42053d41ca007
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