Merge pull request #15 from pauldu/gnttab

Switch to new GNTTAB interface.
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()
[CA-134598] Store the (partial) tag along with the XENVBD_REQUEST.
Migrate and a bus/target reset will re-queue any existing requests, but not
reset the request tagging correctly, and will eventually run out of free tags.

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

[CA-134598] Store the (partial) tag along with the XENVBD_REQUEST.
Log BLKIF_OP_* values when backend fails request
Dont attempt to interpret as SCSIOP_* values

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

Log BLKIF_OP_* values when backend fails request
Add sdv build to build.py, include nosdv option to not run sdv

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Fix SDV errors, completes SDV and DVL log run
Notes: Date format must be US (MM/DD/YY) for WHQL tests

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

Add Sdv to build.py
Fix build by removing (redefinition) of MmGetPhysicalAddress

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

Fix build by removing (redefinition) of MmGetPhysicalAddress
Fix SDV on xencrsh

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

Fix SDV on xencrsh
Track current/maximum grant usage

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Refactor: internalize request preparation functions into a single call

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