[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [XENIFACE PATCH 1/2] Fix Registry Isolation issues with Server 2025


  • To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Paul Durrant <xadimgnik@xxxxxxxxx>
  • Date: Wed, 24 Jul 2024 09:17:58 +0100
  • Delivery-date: Wed, 24 Jul 2024 08:26:56 +0000
  • List-id: Developer list for the Windows PV Drivers subproject <win-pv-devel.lists.xenproject.org>

On 09/07/2024 11:41, Owen Smith wrote:
Use MmGetSystemRoutineAddress to dynamically get IoOpenDriverRegistryKey,
which is not present on Server 2016.
Where possible, use IoOpenDriverRegistryKey to avoid opening absolute registry
paths, which is a driver verifier violation on Server 2025 WHQL testing.

Also refactors all registry access to use functions in registry.h and cleans up
driver.c to be more inline with other drivers.

Signed-off-by: Owen Smith <owen.smith@xxxxxxxxx>
---
  src/xeniface/driver.c   | 146 +++++++++++++++++++++++++++++++---------
  src/xeniface/driver.h   |  17 ++---
  src/xeniface/fdo.c      |  94 ++++++++++----------------
  src/xeniface/registry.c |  81 +++++++++++++++++++++-
  src/xeniface/registry.h |  14 +++-
  src/xeniface/wmi.c      |   7 +-
  6 files changed, 258 insertions(+), 101 deletions(-)


Acked-by: Paul Durrant <paul@xxxxxxx>




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.