Merge pull request #13 from OwenSmith/indirect

Implement Indirect Operation
Merge pull request #14 from OwenSmith/indirect

Rename XENVBD_CONTEXT to XENVBD_MAPPING to better describe its use
Switch to new GNTTAB interface.

This patch will break indirect but no shipping backend actually uses that
yet.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #15 from pauldu/gnttab

Switch to new GNTTAB interface.
Fix a few build warnings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #16 from pauldu/gnttab

Fix a few build warnings
[SCTX-1718] Set DisableCDDB and DontStartRawDevices to 0 before rebooting,
if GPO option to disallow device installations is enabled.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Dont attempt to read values before setting to 0
Always attempt to set DisableCDDB and DontStartRawDevices to 0

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Merge pull request #18 from OwenSmith/sctx-1718

Prevent certain GPO  settings triggering BSOD 0x7B on first reboot
Fix BSOD caused by KeWaitForMultipleObjects()

KeWaitForMultipleObjects() should use a wait block array if the
number of objects exceeds THREAD_WAIT_OBJECTS. The number of objects
PdoDestroy() waits on is 4 which exceeds the currently defined value
of that constant (which is 3).

Signed-off-by: Murtaza Ghiya <murtazg@amazon.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #19 from pauldu/waitblock

Fix BSOD caused by KeWaitForMultipleObjects()
Fix indirect operations, as GNTTAB interface returns opaque handle
to grant, not grant reference directly.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Merge XENVBD_SEGMENT and XENVBD_MAPPING, as seperation is not needed

Signed-off-by: Owen Smith <owen.smith@citrix.com>