From nobody Tue Mar 3 03:24:24 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1771344079; cv=none; d=zohomail.com; s=zohoarc; b=Ij1i7Kn6TLtkD8NkNLOh0bj9UvR/kD6xfq8z9P0nv+S/LFt1kENLwUEvFpj5+jbgnmbK6EtBvTh+WNRfZDBIJdtZORAit6aVlwHOS63vE5dYUgG3yElOceU/ZPh0cfdh0A50gYtELe488/HZjoQghr0p5aKvcajK+qCkKGW/4Vg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1771344079; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:Subject:Subject:To:To:Message-Id:Cc; bh=X14eWOyt078RAdupwvWd/a4UDUilHu77chm+Lg/8V2c=; b=fYFFX+tznwCYYxuMBbYuq6xZo3jrE7ImOHkM7KUsqn8sBudYrvyqWLPYlu0DyoLNT9VD7OawnItLsY4hTEPQasVz/1T79SZlyh2YiWHW07zSSkhEdqymRRRBwtsFEFOXj6ASda6feviIyY7adqUplQy8MTXBp5OvLbidD23YO64= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1771344079543505.45505756636305; Tue, 17 Feb 2026 08:01:19 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id B4A123F931; Tue, 17 Feb 2026 11:01:18 -0500 (EST) Received: from [172.19.199.9] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 152A541929; Tue, 17 Feb 2026 11:00:40 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 1448C3F289; Tue, 17 Feb 2026 11:00:35 -0500 (EST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 4D92E3F357 for ; Tue, 17 Feb 2026 11:00:34 -0500 (EST) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-360-Bra9u6_4O4mEeZOWobYkfw-1; Tue, 17 Feb 2026 11:00:32 -0500 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 4A5D11800366 for ; Tue, 17 Feb 2026 16:00:30 +0000 (UTC) Received: from himantopus.redhat.com (unknown [10.22.80.90]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id DABEE180058F for ; Tue, 17 Feb 2026 16:00:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HELO_MISC_IP,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771344033; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X14eWOyt078RAdupwvWd/a4UDUilHu77chm+Lg/8V2c=; b=cBsoLlAtzWKUKZUUZ+yM67M6ZQVDcVhQy8U5l4RlWGlzp5rQmDZ3wka80Z+gpH4+PMpijA OV0EAKeho3uHfSX1vKGIX3H5VCtPgm/iAdbwAcyf5zXQyN4IK7foyxT32QR893F/+Wx9d1 v0TL2ZLmdzx1srKMOCClM+ol3GJX1Qw= X-MC-Unique: Bra9u6_4O4mEeZOWobYkfw-1 X-Mimecast-MFC-AGG-ID: Bra9u6_4O4mEeZOWobYkfw_1771344030 To: devel@lists.libvirt.org Subject: [PATCH] hyperv: Clean up unnecessary header includes Date: Tue, 17 Feb 2026 10:00:28 -0600 Message-ID: <20260217160028.2998587-1-jjongsma@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ZNszxLKFIQgwrJrFUx0hK6Yh77KTmEao9dpLAD6qpQU_1771344030 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: OMHXQ5DZHBA5R4VPI5VRIP2CGIM7N25O X-Message-ID-Hash: OMHXQ5DZHBA5R4VPI5VRIP2CGIM7N25O X-MailFrom: jjongsma@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Jonathon Jongsma via Devel Reply-To: Jonathon Jongsma X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1771344080220158500 Content-Type: text/plain; charset="utf-8"; x-default="true" Remove some unused or over-broad includes from headers, push some includes down to .c files when the only user is the implementation. Signed-off-by: Jonathon Jongsma Reviewed-by: Michal Privoznik --- src/hyperv/hyperv_util.c | 2 +- src/hyperv/hyperv_wmi.c | 2 +- src/hyperv/hyperv_wmi.h | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/hyperv/hyperv_util.c b/src/hyperv/hyperv_util.c index 37a1b1a249..120c0b1bdb 100644 --- a/src/hyperv/hyperv_util.c +++ b/src/hyperv/hyperv_util.c @@ -23,8 +23,8 @@ =20 #include "internal.h" #include "viralloc.h" +#include "virerror.h" #include "virlog.h" -#include "hyperv_private.h" #include "hyperv_util.h" =20 #define VIR_FROM_THIS VIR_FROM_HYPERV diff --git a/src/hyperv/hyperv_wmi.c b/src/hyperv/hyperv_wmi.c index eee42b5c70..1ca1e0b5db 100644 --- a/src/hyperv/hyperv_wmi.c +++ b/src/hyperv/hyperv_wmi.c @@ -40,7 +40,7 @@ #include "hyperv_wmi.h" #include "virstring.h" #include "virlog.h" -#include "virxml.h" +#include "virhash.h" =20 #define VIR_FROM_THIS VIR_FROM_HYPERV =20 diff --git a/src/hyperv/hyperv_wmi.h b/src/hyperv/hyperv_wmi.h index 9093aec455..9fad0712a2 100644 --- a/src/hyperv/hyperv_wmi.h +++ b/src/hyperv/hyperv_wmi.h @@ -26,7 +26,6 @@ #include "virbuffer.h" #include "hyperv_private.h" #include "hyperv_wmi_classes.h" -#include "virhash.h" =20 =20 #define HYPERV_WQL_QUERY_INITIALIZER { NULL, NULL } --=20 2.53.0