Update minor version number to disambiguate from old mercurial repo.
Merge pull request #1 from OwenSmith/master

Update minor version number to disambiguate from old mercurial repo.
Ignore attempts to remove device usage types that were not added.

ASSERTing on this condition is not particularly helpful as other buggy
software causes BSODs. We should be able to safely ignore and succeed
such IRPs.

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

Ignore attempts to remove device usage types that were not added.

Accepted-By: Ben Chalmers <ben.chalmers@citrix.com>
Re-factoring for use with upstream Xen.

Strip out XenServer specific parts of the drivers and enable them
to cope with multiple bindings.
Also, refine some of the source, add a common source area to reduce
code duplication, and change the PDO names to reflect the PV driver
vendor and also use a format that should work with Windows Update.

Note that XENFILT is pretty useless at this point. It binds to devices
correctly but all the unplug code is gone, to be replaced with code that
is not reliant upon XenServer-specific patches to QEMU.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Start work on XENFILT

Start to move towards a new EMULATED interface that will allow child
drivers to check presence of 'DEVICE's (by DeviceID and InstanceID) and
'DISK's (by Controller, Target, Lun tuples). This first commit just puts
in the groundwork for setting the right data on the PDOs.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Get XENVIF up and running.

Create a new stub EMULATED interface and make some other tweaks to get
XENVIF to come up and enumerate child devices.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Switch to test signing.

New xenbus.pfx (no password) added to repo.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Use pre-defined GUIDs rather than rolling our own.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Complete EMULATED and UNPLUG interfaces

Not tested yet but the code is more or less in its final shape.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Use unplug product ID 0xFFFF for now

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Fix typo

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
[CA-115744] [SCTX-1538] Do not treat DbgPrint strings as format strings

Our hook for DbgPrint messages was passing these messages as the
format parameter into a printf statement.  If there was a %s or
similar in the string we would then deference the next argument on
the stack, leading to a potential BSOD.

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #3 from benchalmers/CA-115744-2

[CA-115744] [SCTX-1538] Do not treat DbgPrint strings as format strings
Verious fixes for WHQL

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Update co-installer

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Update .gitignore

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Make sure the FDOs do not appear in the eject list

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Fix a couple of debug messages

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Switch to Xen 3.4 headers for backwards compatibility

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>