Received: by 10.223.185.116 with SMTP id b49csp7111655wrg; Wed, 28 Feb 2018 23:21:45 -0800 (PST) X-Google-Smtp-Source: AG47ELsr6fnk61Akh3vk36lIgSOCwPcEancgHLi3TqilmRNiusB1cYZf0EOP2oX6Av+emjENz6cY X-Received: by 10.99.160.80 with SMTP id u16mr751044pgn.389.1519888904890; Wed, 28 Feb 2018 23:21:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519888904; cv=none; d=google.com; s=arc-20160816; b=PzJy6VYoRmYhA1IQpnc5ksXY6sH7UkpbsQfZ531/U9MzEkTWbEofHB6N4ZD3SalaAy xXTEfJ+rRtnuTaj9eOtJ77z612NrVrdlS1ziyS+n93pQOk521Tafocw9bKffW/FAzktc evZPxO8CLudY+2j0SJlmqnSUM9duUKhUbH36ErE9Yc40iUdEOj0//ydIb7WUysLHta1q MYl1WS7+xS54vvqa0QeMqPrSE+rxOpw/9X1jTzfQyyavwY/hKrWzJwi135M8NMRxVf2D Ia/xKBgxMDF22vuU/YWJ1MJFEMx/6gzW4dEGNVMNoVJGPKm5ZL5ve7hsSONhs1XO3VYg qTOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=srnwiZDcnML3CN5RuxnGa1Y9LGMJb78Cn+2n7KLjr0k=; b=Fv9gt/AZ3IZveh3zWIfbd1uhq8u5wCYb7F7MpUC19SO50Z+ocJFKLgV6qJkD+/DJuZ Gttg5696KP/7ju+i43Bqk7Vg6ODhAU7tDrAm5Aq2h84Xb/drzzxZKsQt66L7tV0LDCRv Cn5adej3DhSllNOyE1/xf4zCl1faLlaSx9bl3xfBebAEi868TZyPZiQVpDIwLeLJSTIX 0HjeHgoyyOFGdFc6icE7u4V6Birw/aphrG0vvitoVeqUeGPj0ImtKhqbWgni08FAT3aU BvnJUaOBdoC5hyiab1vzfnfGHjDTU5bPA+439Z7W6KT+I5AXOiBDfieByE7SViBo6fIq /1mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y190si2117183pgd.177.2018.02.28.23.21.30; Wed, 28 Feb 2018 23:21:44 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966465AbeCAHUg (ORCPT + 99 others); Thu, 1 Mar 2018 02:20:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:48402 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966384AbeCAHUf (ORCPT ); Thu, 1 Mar 2018 02:20:35 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AE310AC21; Thu, 1 Mar 2018 07:20:33 +0000 (UTC) Subject: Re: [RFC PATCH v4 4/7] xen/pvh: Move Xen specific PVH VM initialization out of common code To: Maran Wilson , pbonzini@redhat.com, boris.ostrovsky@oracle.com, roger.pau@citrix.com, andrew.cooper3@citrix.com, hch@infradead.org, JBeulich@suse.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, rkrcmar@redhat.com, jpoimboe@redhat.com, bp@suse.de, kirill.shutemov@linux.intel.com, thomas.lendacky@amd.com, luto@kernel.org, dave.hansen@linux.intel.com, davem@davemloft.net, gregkh@linuxfoundation.org, mchehab@kernel.org, linus.walleij@linaro.org, rdunlap@infradead.org References: <1519842483-8887-1-git-send-email-maran.wilson@oracle.com> <1519842483-8887-5-git-send-email-maran.wilson@oracle.com> From: Juergen Gross Message-ID: Date: Thu, 1 Mar 2018 08:20:32 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <1519842483-8887-5-git-send-email-maran.wilson@oracle.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/02/18 19:28, Maran Wilson wrote: > We need to refactor PVH entry code so that support for other hypervisors > like Qemu/KVM can be added more easily. > > This patch moves the small block of code used for initializing Xen PVH > virtual machines into the Xen specific file. This initialization is not > going to be needed for Qemu/KVM guests. Moving it out of the common file > is going to allow us to compile kernels in the future without CONFIG_XEN > that are still capable of being booted as a Qemu/KVM guest via the PVH > entry point. > > Signed-off-by: Maran Wilson Reviewed-by: Juergen Gross Juergen