]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - include/xen/xen.h
xen/pvh: Bootstrap PVH guest
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 6 Feb 2017 00:50:52 +0000 (19:50 -0500)
committerBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 7 Feb 2017 13:07:01 +0000 (08:07 -0500)
commit7243b93345f7f8de260e8f5b4670803e64fcbb00
treec288ff735a3e39745b91a3870b2d956fcce5429b
parentcee2cfb7d18db1d7bcd0952b5e0e3f19c004023c
xen/pvh: Bootstrap PVH guest

Start PVH guest at XEN_ELFNOTE_PHYS32_ENTRY address. Setup hypercall
page, initialize boot_params, enable early page tables.

Since this stub is executed before kernel entry point we cannot use
variables in .bss which is cleared by kernel. We explicitly place
variables that are initialized here into .data.

While adjusting xen_hvm_init_shared_info() make it use cpuid_e?x()
instead of cpuid() (wherever possible).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/Kconfig
arch/x86/xen/Makefile
arch/x86/xen/enlighten.c
arch/x86/xen/xen-pvh.S [new file with mode: 0644]
include/xen/xen.h