Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752833AbdCOJkD (ORCPT ); Wed, 15 Mar 2017 05:40:03 -0400 Received: from mx2.suse.de ([195.135.220.15]:59317 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752245AbdCOJkB (ORCPT ); Wed, 15 Mar 2017 05:40:01 -0400 Subject: Re: [PATCH v3 01/21] x86/xen: separate PV and HVM hypervisors To: Vitaly Kuznetsov , xen-devel@lists.xenproject.org References: <20170314173556.2249-1-vkuznets@redhat.com> <20170314173556.2249-2-vkuznets@redhat.com> Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Boris Ostrovsky , Andrew Jones From: Juergen Gross Message-ID: <589b3656-8cef-d4b0-85e1-348b38e60d91@suse.com> Date: Wed, 15 Mar 2017 10:39:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170314173556.2249-2-vkuznets@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 805 Lines: 23 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 > --- > Changes since v2: > .pin_vcpu kept for x86_hyper_xen_hvm to support PVH Dom0 in future > [Juergen Gross] > --- Reviewed-by: Juergen Gross Juergen