[kmods,3/4] windows/virt2phys: change setup class GUID to custom

Message ID 20211002161824.19039-4-dmitry.kozliuk@gmail.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series windows: independent fixes |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Dmitry Kozlyuk Oct. 2, 2021, 4:18 p.m. UTC
  virt2phys was using the setup class GUID of sample drivers with class
name "kernel bypass". Windows Driver Kit version 22000.1 recognizes this
GUID and emits an error:

    error 1280: Class name and ClassGuid mismatch, expecting Class
    "Sample" for ClassGuid "{78A1C341-4539-11d3-B88D-00C04FAD5171}".

Generate and use a new GUID for "Kernel bypass" device class.

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

Patch

diff --git a/windows/virt2phys/virt2phys.inf b/windows/virt2phys/virt2phys.inf
index e35765e..c1ea8d9 100644
--- a/windows/virt2phys/virt2phys.inf
+++ b/windows/virt2phys/virt2phys.inf
@@ -4,7 +4,7 @@ 
 [Version]
 Signature = "$WINDOWS NT$"
 Class = %ClassName%
-ClassGuid = {78A1C341-4539-11d3-B88D-00C04FAD5171}
+ClassGuid = {6d53d3f7-734b-44ec-a6a9-4e369dc121a4}
 Provider = %ManufacturerName%
 CatalogFile = virt2phys.cat
 DriverVer =