MR!1 patch

Submitted by Jon Stumpf on April 23, 2018, 11:16 p.m.

Details

Message ID CALQX8QTFTqNu5gF-WX8SBLx_sZfS5BuATxUaGpYgXbXLBB-F1A@mail.gmail.com
State New
Headers show
Series "MR!1 patch" ( rev: 1 ) in Spice

Not browsing as part of any series.

Commit Message

Jon Stumpf April 23, 2018, 11:16 p.m.
Here is the patch for Merge Request 1 (MR!1).  The WebIDE must have changed
the end-of-line sequence as I produced this with "git diff
--ignore-all-space".

- jss

Patch hide | download patch | download mbox

diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 4f508bd..5fa9c9a 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -1982,7 +1982,7 @@  NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)
 
     UNICODE_STRING ValueQxlDeviceID;
     RtlInitUnicodeString(&ValueQxlDeviceID, L"QxlDeviceID");
-    DWORD DeviceId = Id; // BDD has no access to video memory
+    DWORD DeviceId = Id;
     Status = ZwSetValueKey(DevInstRegKeyHandle,
                            &ValueQxlDeviceID,
                            0,
@@ -1991,7 +1991,7 @@  NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)
                            sizeof(DeviceId));
     if (!NT_SUCCESS(Status))
     {
-        DbgPrint(TRACE_LEVEL_ERROR, ("ZwSetValueKey for MemorySize failed with Status: 0x%X\n", Status));
+        DbgPrint(TRACE_LEVEL_ERROR, ("ZwSetValueKey for QxlDeviceID failed with Status: 0x%X\n", Status));
         return Status;
     }