From nobody Tue Feb 10 13:17:35 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1610473446; cv=none; d=zohomail.com; s=zohoarc; b=fbw1+jGHAe70g2ata1e0gPsm5Epx97mADR/CJQtLD5XElF+4pthgm1asPV9O1unAKXO/Vaoe0iQKHgT91Sf0BEcns+xGsqw3rEX9PxPM618MscUUYOWx4UCsCYO/TK3mON7WewXny6/iaQW0GpMMgC3tmkGdIayte4CqI2FFPHg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1610473446; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Ai6Dke2w38UTjcYZCpwJxxn4izLkmiEXd15tKX5teqg=; b=UV30vEnG0U2QDhJrdfD/XULhsurC0eVKUh80VQaBKXaEl1r9hatUb1aP10y90BnfDHfBSy7Kr3QDxADfna1SJvHZ/n+UbAevd38vzEv4cg3W2XRC+cOmd97jO6eIgXzfnrPPUV9uBGQN3SQdtJRZuzR6IpAQrhsgjCHPl4bnbVU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 161047344665119.343852359162497; Tue, 12 Jan 2021 09:44:06 -0800 (PST) Received: from localhost ([::1]:36740 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzNi9-0003ub-HB for importer@patchew.org; Tue, 12 Jan 2021 12:44:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35250) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzNG2-0003Zo-B3 for qemu-devel@nongnu.org; Tue, 12 Jan 2021 12:15:03 -0500 Received: from mail-ed1-x52c.google.com ([2a00:1450:4864:20::52c]:40667) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzNG0-0004s1-5g for qemu-devel@nongnu.org; Tue, 12 Jan 2021 12:15:01 -0500 Received: by mail-ed1-x52c.google.com with SMTP id h16so3155633edt.7 for ; Tue, 12 Jan 2021 09:14:59 -0800 (PST) Received: from avogadro.lan ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id k22sm397302edv.33.2021.01.12.09.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jan 2021 09:14:58 -0800 (PST) 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=Ai6Dke2w38UTjcYZCpwJxxn4izLkmiEXd15tKX5teqg=; b=ifbxgapAI6iOvxaoeOmO6PWum2uVHr3cpL7XrijStMqJLOUrcbAXSgXX4sEhAmI6jl h0aFk2rrnuT+xEy7U975CJ4v+0LATBnO+d3gfRHWl+vq2BB/toXFNV6ZRBC6tJplsy18 dV4H1D5psVyp1QPOdN+3JK1VbaDKF9AUtwjQTXsbZSrVNOW7oja3+hFgbgJelSgVnN7D OiMfO4KoFOKe/Q/ffB+oLAqukWPhIDlwTyZfGop4cs8IvDz3sucM/+jLetRetXSUfAvl 8N/Nm1YFTWOqznAtrMPUjfCE3eb1D9MvfaHZzpuNJa11KAfYxjyqgjMqjqTvTf+yU9AK FxLA== 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=Ai6Dke2w38UTjcYZCpwJxxn4izLkmiEXd15tKX5teqg=; b=lt9KMZ1DxaX6CATUZpU5wPpT3EVZwbVGZ9b6GURM9ndPOjYcMqr3lJ8gS6MAGSk3yW +W2pItD921/D9PXt5h8/LZV5vV3nXQLhB9KHqLEHCjzch1we7FuvqLIOjgnXVZVocrsV 9B1sWSKVAWKyyxamYs2Bvo1AuOS+YHVq9A95M3mKTSbp5wOVkJWpVGXPc6aENgxG/Lv6 IVY0CE+RAD/unJkX8TLinggy0qikxht6k8NDu6xL8PgcudDNyP0Pv8GUu2XO/LleK7jt s2w0s6gKUipreEL8HLSZgeAhmEDS5Fr4Mp5j8dvv+C90eZWOTDgjBCBW8E2abD/gfCKE rTVw== X-Gm-Message-State: AOAM530UbApJ1RZ3Q/VkTDitUTocQbeDWZUFd/ekkXJ5NB4R3c70/ZcA 3k/8pbf709RuR5/GtPXO8ZON+b2uGc5gow== X-Google-Smtp-Source: ABdhPJxex0S6ehLHG55IM9eg3JQxLt9UQd7Wn2Gsw12qO0gfvEKrQ8hNdwoxg90uil7EnvyMIAqIFg== X-Received: by 2002:a50:c209:: with SMTP id n9mr117406edf.123.1610471698511; Tue, 12 Jan 2021 09:14:58 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Subject: [PULL 07/20] whpx: move whpx_lapic_state from header to c file Date: Tue, 12 Jan 2021 18:14:37 +0100 Message-Id: <20210112171450.791427-8-pbonzini@redhat.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210112171450.791427-1-pbonzini@redhat.com> References: <20210112171450.791427-1-pbonzini@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=paolo.bonzini@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Yonggang Luo Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" From: Yonggang Luo This struct only used in whpx-apic.c, there is no need expose it in whpx.h. Signed-off-by: Yonggang Luo Message-Id: <20210107101919.80-6-luoyonggang@gmail.com> Signed-off-by: Paolo Bonzini --- target/i386/whpx/whpx-apic.c | 7 +++++++ target/i386/whpx/whpx-internal.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/target/i386/whpx/whpx-apic.c b/target/i386/whpx/whpx-apic.c index 1d330bf749..bba36f3ec9 100644 --- a/target/i386/whpx/whpx-apic.c +++ b/target/i386/whpx/whpx-apic.c @@ -20,6 +20,13 @@ #include "sysemu/whpx.h" #include "whpx-internal.h" =20 +struct whpx_lapic_state { + struct { + uint32_t data; + uint32_t padding[3]; + } fields[256]; +}; + static void whpx_put_apic_state(APICCommonState *s, struct whpx_lapic_state *kapic) { diff --git a/target/i386/whpx/whpx-internal.h b/target/i386/whpx/whpx-inter= nal.h index 8cfaaef141..908ababf6d 100644 --- a/target/i386/whpx/whpx-internal.h +++ b/target/i386/whpx/whpx-internal.h @@ -13,13 +13,6 @@ struct whpx_state { bool apic_in_platform; }; =20 -struct whpx_lapic_state { - struct { - uint32_t data; - uint32_t padding[3]; - } fields[256]; -}; - extern struct whpx_state whpx_global; void whpx_apic_get(DeviceState *s); =20 --=20 2.29.2