xen: share start flags between PV and PVH
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 8 Jun 2018 08:40:38 +0000 (10:40 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 19 Jun 2018 11:51:00 +0000 (13:51 +0200)
commit1fe83888a2b776c204cb06629700adfb8e9cc123
tree3d7ad3e848fceb53b69bc727af09b03839520af0
parent7f47e1c52d0c850cbd24aab763ce6bab11bdb4b2
xen: share start flags between PV and PVH

Use a global variable to store the start flags for both PV and PVH.
This allows the xen_initial_domain macro to work properly on PVH.

Note that ARM is also switched to use the new variable.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/arm/xen/enlighten.c
arch/x86/xen/enlighten.c
arch/x86/xen/enlighten_pv.c
arch/x86/xen/enlighten_pvh.c
include/xen/xen.h