From nobody Mon Feb 9 16:44:57 2026 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org ARC-Seal: i=1; a=rsa-sha256; t=1571995090; cv=none; d=zoho.com; s=zohoarc; b=ZyTjvtQNvtLV9fSSuqk2DdCTTTrEY816DASHdPnq9h/R9LAJCyeWZxYUM4MzGwZj0kqHER7HPTC9LXWDL0AQZKPYPScGF9lEMB1eAW4C8+FVF73ZvIRkA5ggvErOPsuQXe/W+e3NUW1i77NEJow77na4p9VuUqNyWVuYv+g/F/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1571995090; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=dUIRkbmhoT9HcCmFgqhyHPxX2lmeIo6f64NQ1t5qbzw=; b=TU6eQRQA5Lvw/zsK9yHNDMFeLm0ARdJjaCQxvu2+sX5e8ith14ai0+m2lAO6PcTQ9g6n+BzzTftU6kjK8KxYgMU+k2LoA0O3PbsiAt0TqcTNH9HDYiYCC3SXk8kXejuUGPmUKqpuZaEfe06ki1ftAkvbfSFjMftsp0nzJrbQbbM= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1571995090708165.03036305571663; Fri, 25 Oct 2019 02:18:10 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iNviY-0007t3-JJ; Fri, 25 Oct 2019 09:17:10 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iNviX-0007sZ-OF for xen-devel@lists.xenproject.org; Fri, 25 Oct 2019 09:17:09 +0000 Received: from mail-wm1-x342.google.com (unknown [2a00:1450:4864:20::342]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 2bfa81cc-f708-11e9-beca-bc764e2007e4; Fri, 25 Oct 2019 09:16:48 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id g24so1248653wmh.5 for ; Fri, 25 Oct 2019 02:16:48 -0700 (PDT) Received: from debian.mshome.net (54.163.200.146.dyn.plus.net. [146.200.163.54]) by smtp.gmail.com with ESMTPSA id b62sm1873283wmc.13.2019.10.25.02.16.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Oct 2019 02:16:47 -0700 (PDT) X-Inumbo-ID: 2bfa81cc-f708-11e9-beca-bc764e2007e4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RWvHYr4lwnnsyDQq6HwtOl4sm8TXtzS0Bm+BK++h16k=; b=d3ElIZtLaWqZS3IppT56DYW6psmlOuvC66A8uKjyQRvd1ExSFqORFPOx/bpuy2ft/O KIm1WOFdbtGGl+lV0HqA/9VHrw71csfdkW+9yKITufK2mVvezWA6uGGwmyEPsCrKRH1m bUYn8i/cWsgkJU6AQeNtSdyDVBYrhtsrucNz/84GEcMXbXgh/TvKbnQw1OWX80fUeXLS VwnWJ9I3sWI7p6nkgwYbCcIj+B/hiqiGa+H/XrqJwt5mJeVN8fslML0VRaFkagRjtKeN ya1R0mIb+Is5rr8KmPuvkophsxrG8hG6FmUjiBIgSEoQAKaZsTzqZESpm6KfxRTbVuwA LmIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=RWvHYr4lwnnsyDQq6HwtOl4sm8TXtzS0Bm+BK++h16k=; b=T7DHa52/KUg3aGOkqtL22GfQhEFQSsmMIQfFTN8dCqms8PCz63Y9CuqLLmk0hCK9F3 GtJnumpTEmevaysL7tWz7il16vfpAGQo32K2vpMT2HYuAwB69FBFIIhtJRR8fRmWW5s0 Sx2bZLecvQ2+3FEWAvLskabCXXrGgJH60HigJW2hRulPZ27SJR0d/cPdl48YT8ANW5vB wi4Vcm2gKztO1lmXxOh2p5Gaty1/iLWrEaYHdJojfT4x/wF4bWW6fufggClntP71/arW qj68wflcDvYH2TnHcayz2Vi02VjNjVGjjUsTJa8WbXtvChUjWvpwZdh45fDAn+sBRFTC wcbw== X-Gm-Message-State: APjAAAVx7LHHBcC5Nm1h3bwcvigPH0hENPtgZdFqNzkeZ8qQpxQhEYMN oqQiwcyNT7sGzy/NBSUIvQQXH0YDruM= X-Google-Smtp-Source: APXvYqx6JQzQaz5vNVGoDOwICJjW8dz5FDmoXpvAKLe0GXRoyJj1QZdb9o+LXu12KBnPD04UfFbsHA== X-Received: by 2002:a1c:41c1:: with SMTP id o184mr2466470wma.57.1571995007682; Fri, 25 Oct 2019 02:16:47 -0700 (PDT) From: Wei Liu X-Google-Original-From: Wei Liu To: Xen Development List Date: Fri, 25 Oct 2019 10:16:16 +0100 Message-Id: <20191025091618.10153-6-liuwe@microsoft.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191025091618.10153-1-liuwe@microsoft.com> References: <20191025091618.10153-1-liuwe@microsoft.com> MIME-Version: 1.0 Subject: [Xen-devel] [PATCH for-next 5/7] x86: use running_on_hypervisor to gate hypervisor_setup X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Wei Liu , Wei Liu , Paul Durrant , Andrew Cooper , Michael Kelley , Jan Beulich , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) The hypervisor_setup method is not unique to Xen guest. Signed-off-by: Wei Liu --- xen/arch/x86/setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c index 4aa0af5a12..044c45be36 100644 --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -1577,7 +1577,7 @@ void __init noreturn __start_xen(unsigned long mbi_p) max_cpus =3D nr_cpu_ids; } =20 - if ( xen_guest ) + if ( running_on_hypervisor ) hypervisor_setup(); =20 /* Low mappings were only needed for some BIOS table parsing. */ --=20 2.20.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel