Re: [PATCH v3 01/21] x86/xen: separate PV and HVM hypervisors
From: Juergen Gross
Date: Wed Mar 15 2017 - 05:40:04 EST
On 14/03/17 18:35, Vitaly Kuznetsov wrote:
> As a preparation to splitting the code we need to untangle it:
>
> x86_hyper_xen -> x86_hyper_xen_hvm and x86_hyper_xen_pv
> xen_platform() -> xen_platform_hvm() and xen_platform_pv()
> xen_cpu_up_prepare() -> xen_cpu_up_prepare_pv() and xen_cpu_up_prepare_hvm()
> xen_cpu_dead() -> xen_cpu_dead_pv() and xen_cpu_dead_pv_hvm()
>
> Add two parameters to xen_cpuhp_setup() to pass proper cpu_up_prepare and
> cpu_dead hooks. xen_set_cpu_features() is now PV-only so the redundant
> xen_pv_domain() check can be dropped.
>
> Signed-off-by: Vitaly Kuznetsov <vkuznets@xxxxxxxxxx>
> ---
> Changes since v2:
> .pin_vcpu kept for x86_hyper_xen_hvm to support PVH Dom0 in future
> [Juergen Gross]
> ---
Reviewed-by: Juergen Gross <jgross@xxxxxxxx>
Juergen