From nobody Tue Feb 10 19:09:47 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1677265198; cv=none; d=zohomail.com; s=zohoarc; b=CDBYcJ+BC7362mcxuAWgA+XOgxUIlkw0UhNMXF87QUat92W0naZywDClcrfvZZ5juu0lreColOji7TtXZPBL49nlhJKuE1hnE3ro/c1Wtyna4+HEktNzQK3wzwViZE9yu8wUT0/FhpXkiLE+08CWPA9wzcPGJ43EDBfXqj4TbVc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677265198; h=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=528hQ/puYwtMp7ly/Urv37WROfXxwGzhdab+4MGW6p4=; b=dB1Gl9UkNSDVlT9SWzzJnHjrZPhGskTSEuLPozZjhzuKZUHmzhLNrGY+qQaCwFWcqaWq4fdgyuuD2q8+YowA1VVtv3cWh2hgbLFdWfs7NBuqIchA6W5oEKeyrLIxH/76PvKGmbRfEuKYIPzrY/aW74rGQ5APzO793ymAyG2MUGI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1677265198019912.8278430953042; Fri, 24 Feb 2023 10:59:58 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.501504.773280 (Exim 4.92) (envelope-from ) id 1pVdIC-0001dv-79; Fri, 24 Feb 2023 18:59:40 +0000 Received: by outflank-mailman (output) from mailman id 501504.773280; Fri, 24 Feb 2023 18:59:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pVdIC-0001do-4A; Fri, 24 Feb 2023 18:59:40 +0000 Received: by outflank-mailman (input) for mailman id 501504; Fri, 24 Feb 2023 18:59:39 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pVd9O-0001Wv-Sn for xen-devel@lists.xenproject.org; Fri, 24 Feb 2023 18:50:35 +0000 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [2a00:1450:4864:20::529]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 1e68e05c-b474-11ed-88bb-e56d68cac8db; Fri, 24 Feb 2023 19:50:33 +0100 (CET) Received: by mail-ed1-x529.google.com with SMTP id ec43so997289edb.8 for ; Fri, 24 Feb 2023 10:50:33 -0800 (PST) Received: from uni.router.wind (adsl-185.109.242.225.tellas.gr. [109.242.225.185]) by smtp.googlemail.com with ESMTPSA id me19-20020a170906aed300b008b17662e1f7sm10585245ejb.53.2023.02.24.10.50.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 10:50:33 -0800 (PST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 1e68e05c-b474-11ed-88bb-e56d68cac8db DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=528hQ/puYwtMp7ly/Urv37WROfXxwGzhdab+4MGW6p4=; b=GqnIbgqjaApSOWWbCN7NXw6lsDgDIHTa/wlKQFJSpx/YudssltgsBQXGtlHhx0ZOyv D17vsOg7oRMOUE/fGafJ4i9P6z7phv/zSJryNyr4RZuBL+Dolq05a+bms716ktN/9/La GN9RHYA3PzUQLUQs22WDBqA9uDHkN9EFcjMQUxvNpcocS9cjR5WgxoEXgEn2Vm70MIRh etuPBC/YlQntawSjVEiixWJR1yhwwHpZcYvr/MVHhe2NCqATLirGGNODqDSH3TIM3BEJ zRz1oRYPkx1g/kZ2EbW1k/Bv0cPFWOIN4+26BAlqZ7LVLUsjydpA7hnx5jF4gOg2Il/z N38Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=528hQ/puYwtMp7ly/Urv37WROfXxwGzhdab+4MGW6p4=; b=xUPE3N6ViAKD9FgKv9OAxdHogp5hMrfDbviqFwhRiVi/Vn9DjR/Mp3ap0rmz+jX6qv h246nVZedzJru51n9WFTPyrX/49fZX/aN4MLCidzLYK2e7H9uvgsQxLTRPd0z/r/6PiD bqNAf+4Othhra12Ro4kGEwOAHsz2DRG2hOaRLjTcxvll6QyzgIVurjIVKhvwir2JSDIf QhKRrxOS4gYPo4Ge90gclSH8IRjqhMvy2badCvLFsWDTC++NMYODPdckdapUVWDjKDpF c3ykynlGDZYC2T5u/ete4VkK3BIf5IWU0KIaatDzeqL8Dl2vrl5eqdTjLPPW8C7Cnkrt NabA== X-Gm-Message-State: AO0yUKV/ngNQnrW5p4QjAQ5GObmMyRVSc9mpaXsAsU5b6l0wnUH55WPA ZTo50Ag96tw/w2A/DfI0gjLGgFwylZE= X-Google-Smtp-Source: AK7set/BvteQN6Ufz1XBNK/qBrZCrW5hJyuGBhGDJthGJhHYKkgYiXxHiNEv0huAJaBUSFy9Pb4oZQ== X-Received: by 2002:a17:906:1d45:b0:884:930:b014 with SMTP id o5-20020a1709061d4500b008840930b014mr22660008ejh.6.1677264633304; Fri, 24 Feb 2023 10:50:33 -0800 (PST) From: Xenia Ragiadakou To: xen-devel@lists.xenproject.org Cc: Jun Nakajima , Kevin Tian , Jan Beulich , Andrew Cooper , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Wei Liu Subject: [PATCH v3 11/14] x86/vmx: remove unused included headers from vmx.c Date: Fri, 24 Feb 2023 20:50:07 +0200 Message-Id: <20230224185010.3692754-12-burzalodowa@gmail.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230224185010.3692754-1-burzalodowa@gmail.com> References: <20230224185010.3692754-1-burzalodowa@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1677265198480100001 Content-Type: text/plain; charset="utf-8" Do not include the headers: asm/hvm/vpic.h asm/hvm/vpt.h asm/io.h asm/mce.h asm/mem_sharing.h asm/regs.h public/arch-x86/cpuid.h public/hvm/save.h because none of the declarations and macro definitions in them is used. Sort the rest of the headers alphabetically. No functional change intended. Signed-off-by: Xenia Ragiadakou --- Changes in v3: - none xen/arch/x86/hvm/vmx/vmx.c | 56 +++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 31 deletions(-) diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index cb8b133ed5..9b009ebcef 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -15,52 +15,46 @@ * this program; If not, see . */ =20 +#include #include +#include #include +#include #include #include -#include +#include #include -#include #include -#include -#include -#include -#include -#include -#include -#include +#include + +#include +#include #include -#include +#include +#include #include -#include -#include -#include +#include #include #include +#include +#include #include -#include +#include +#include #include -#include -#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include #include +#include +#include #include -#include +#include +#include +#include + +#include +#include =20 #include "pi.h" #include "vmx.h" --=20 2.37.2