From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 3DFCBA0032;
	Sat,  2 Oct 2021 18:18:54 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id BD3B34122D;
	Sat,  2 Oct 2021 18:18:35 +0200 (CEST)
Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com
 [209.85.167.44]) by mails.dpdk.org (Postfix) with ESMTP id C4EEF41205
 for <dev@dpdk.org>; Sat,  2 Oct 2021 18:18:32 +0200 (CEST)
Received: by mail-lf1-f44.google.com with SMTP id i25so51504305lfg.6
 for <dev@dpdk.org>; Sat, 02 Oct 2021 09:18:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding;
 bh=KPAYaBKXgdQwhw/es3ZrgAoU0dSw1x9yqzfdxHBuUGA=;
 b=gPh60XywD2B5XxvbblktwLnCkHGeFwtbTjF9+ARQD+CPmxnrZcIvU3I3/Q3zgCaxAd
 SyK4gVQL9916ZDWdU+6sRKrY8zcyZiqXIxi0wqb4DFUk8IqoRMykXdCaDl1TCVZ4HezX
 fRptTiyumr5L9RhFskvOZwfbXsPFzIs78gWvvN4z67dAx+Q/KBZe9thAjfeQ9bvGTLpJ
 t5s+9mmrPHfzuCKi9Dx7mSFFrQtq1DXsxL6c8xN/pXn9t2uWk1jIWt+hysLje+45If7o
 JXRlU46dglLoX9zx9YxEGq51Bq+sh+smDfnoO0JOeMefWJgqX5aG8eK9/aaXx7yIyclo
 6CSw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=KPAYaBKXgdQwhw/es3ZrgAoU0dSw1x9yqzfdxHBuUGA=;
 b=f06UALcI3cnn/KDVUgsRXgbGOddxgNEdqHdmHyF3xVk7982PdFghwLfpharyDbEgSD
 8C/7oHsE9D8gUbnHUGgIKmPh/CYeJNOrZIXv9frdxMVng8ULeqmWOjE3EDNahtD9/X81
 OlxKOO0EffNAigZuoz+JBE7w6nXQWu7WVdxX6tygq7U0SPYt77m+OXwLMrhyvUqBQtjw
 dGz9D/uLeYhIg1qhgGJ5KRzyueyRIyQ8ic0gxy8vddLtmsDFQwE2d8F+IruKN0IcTrpd
 ig8zP76kB8TISC90V+ouluipWePvXQvRP2QAo7tBIL3EJxfQDTQ5zUtTw2BSj5AySXg9
 L4xA==
X-Gm-Message-State: AOAM532j55vbkZIRjTPBGt3AnmF/XRZfl0j8YYNi9unJUodWQcwQY52n
 vRFo6YAm9KSWrbvAuDWtH32K3A7m1tE=
X-Google-Smtp-Source: ABdhPJx1AbUgju3msN9N9oxcrk41yowZF8FHFDfatE9j89rev0d7wxF4VpUkQjFWcPK3MzAV0cnbyg==
X-Received: by 2002:a05:651c:120f:: with SMTP id
 i15mr4344180lja.59.1633191512323; 
 Sat, 02 Oct 2021 09:18:32 -0700 (PDT)
Received: from sovereign.. (broadband-37-110-65-23.ip.moscow.rt.ru.
 [37.110.65.23])
 by smtp.gmail.com with ESMTPSA id z10sm1030372ljc.117.2021.10.02.09.18.31
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 02 Oct 2021 09:18:32 -0700 (PDT)
From: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
To: dev@dpdk.org
Cc: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>,
 Narcisa Ana Maria Vasile <navasile@linux.microsoft.com>,
 Dmitry Malloy <dmitrym@microsoft.com>,
 Pallavi Kadam <pallavi.kadam@intel.com>,
 Ranjit Menon <ranjit.menon@intel.com>
Date: Sat,  2 Oct 2021 19:18:24 +0300
Message-Id: <20211002161824.19039-5-dmitry.kozliuk@gmail.com>
X-Mailer: git-send-email 2.29.3
In-Reply-To: <20211002161824.19039-1-dmitry.kozliuk@gmail.com>
References: <20211002161824.19039-1-dmitry.kozliuk@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Subject: [dpdk-dev] [kmods PATCH 4/4] windows/virt2phys: add PnpLockdown
 directive
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

WDK for Windows 10, version 2004 emits a warning suggesting to add
PnpLockdown directive to INI [1]. Add it since virt2phys has no
potential use-cases that require modifications to driver files.

[1]: https://docs.microsoft.com/en-us/windows-hardware/drivers/install/inf-version-section

Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
---
 windows/virt2phys/virt2phys.inf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/windows/virt2phys/virt2phys.inf b/windows/virt2phys/virt2phys.inf
index c1ea8d9..5af77d2 100644
--- a/windows/virt2phys/virt2phys.inf
+++ b/windows/virt2phys/virt2phys.inf
@@ -8,6 +8,7 @@ ClassGuid = {6d53d3f7-734b-44ec-a6a9-4e369dc121a4}
 Provider = %ManufacturerName%
 CatalogFile = virt2phys.cat
 DriverVer =
+PnpLockdown = 1
 
 [DestinationDirs]
 DefaultDestDir = 12
-- 
2.29.3