Merge pull request #17 from pauldu/master

Miscellaneous fixes and improvements

Approved-By: Ben.Chalmers@citrix.com
Merge pull request #19 from pauldu/master

Add error path to RangeSetPop()
[SCTX-1104] Add WindowsPEMode to xenfilt

ParentIdPrefixes are not avilable at Windows PE driver filtering time,
but we don't actually need them if we know emulated devices will be
unplugged, so, if ParentIdPrefix can't be read from the registry and
HKLM\System\CurrentControlSet\Services\xenfilt\WindowsPEMode is set to 1
then just set the prefix to be an empty string and continue

We never set WindowsPEMode anywhere except in the sample Windows PE
scripts, so non-WindowsPE environments are unaffected

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #20 from benchalmers/pe4

[SCTX-1104] Add WindowsPEMode to xenfilt
Merge pull request #21 from pauldu/master

RangeSet fixes

Approved-By: Ben Chalmers <Ben.Chalmers@citrix.com>
Add FIST capability for pools

By setting xenstore parameters 'fist/pool/<name>/defer' to X and
'fist/pool/<name>/probability' to Y you can now cause failures of PoolGet()
such that it will fail with probability Y% after X initial invocations.
The name of the grant table pool has been set to 'gnttab' to make typing it
in more convenients, and some debug-keys output has been added to give
the PoolGet() failure count.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge branch 'master' of github.com:xenserver/win-xenbus
Merge pull request #22 from pauldu/fist

FIST

Approved-By: Ben Chalmers <Ben.Chalmers@citrix.com>