]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/log
pvdrivers/win/xenvbd.git
11 years agoReduce calls to BlockRingPush and NotifierSend during PdoSubmitPrepared
Owen Smith [Fri, 7 Feb 2014 10:55:00 +0000 (10:55 +0000)]
Reduce calls to BlockRingPush and NotifierSend during PdoSubmitPrepared
Remove ListContains assertions

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoNo need to lock when accessing private front ring.
Owen Smith [Fri, 31 Jan 2014 09:12:41 +0000 (09:12 +0000)]
No need to lock when accessing private front ring.
Move lock to insertion pathway only.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoTidy up code with Granter/Notifier/BlockRing accessors
Owen Smith [Thu, 30 Jan 2014 15:11:15 +0000 (15:11 +0000)]
Tidy up code with Granter/Notifier/BlockRing accessors

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoRemove unneeded include
Owen Smith [Thu, 30 Jan 2014 14:12:22 +0000 (14:12 +0000)]
Remove unneeded include

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoEnable single requests to be submitted to the ring
Owen Smith [Thu, 30 Jan 2014 13:08:09 +0000 (13:08 +0000)]
Enable single requests to be submitted to the ring

When a SRB has been prepared, its constituent requests are appended
to a request queue. Requests are submitted to the ring from this request
queue, allowing a SRB to be partially submitted due to limited free
slots on the ring.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMerge pull request #8 from OwenSmith/master
Paul Durrant [Tue, 7 Jan 2014 10:05:17 +0000 (02:05 -0800)]
Merge pull request #8 from OwenSmith/master

[SCTX-1663] Allow Closed -> Initialized state transition

11 years ago[SCTX-1663] Make Closed->Initialized a valid transition.
Owen Smith [Mon, 6 Jan 2014 10:13:49 +0000 (10:13 +0000)]
[SCTX-1663] Make Closed->Initialized a valid transition.
Resuming from suspend, when the suspend occured before the
Initialized->Closed transition is valid, and the state needs to change
to allow subsiquent resumes to close the backend connection.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years ago[SCTX-1663] Prevent transitions to Initialized causing DEAD BSOD
Owen Smith [Mon, 6 Jan 2014 09:39:58 +0000 (09:39 +0000)]
[SCTX-1663] Prevent transitions to Initialized causing DEAD BSOD
on resume from suspend, when suspend occurs before transition out
of Initialized.

Also, fix minor typo in xencrsh/pdo.c

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoAdd more logging to xencrsh
Owen Smith [Mon, 16 Dec 2013 15:25:07 +0000 (15:25 +0000)]
Add more logging to xencrsh

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMerge pull request #7 from OwenSmith/switch-xencrsh-to-grant-v1
Paul Durrant [Mon, 9 Dec 2013 16:45:18 +0000 (08:45 -0800)]
Merge pull request #7 from OwenSmith/switch-xencrsh-to-grant-v1

Switch xencrsh to grant v1

11 years agoFix comments on prev commit
Owen Smith [Mon, 9 Dec 2013 16:33:34 +0000 (16:33 +0000)]
Fix comments on prev commit
* #define MAXIMUM_GRANT_PAGES 1
* KeMemoryBarrier()

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoSwitch XENCRSH to grant v1
Owen Smith [Mon, 9 Dec 2013 09:25:23 +0000 (09:25 +0000)]
Switch XENCRSH to grant v1

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoAdd back missing code to handle VDISK_REMOVABLE
Paul Durrant [Fri, 1 Nov 2013 10:26:46 +0000 (11:26 +0100)]
Add back missing code to handle VDISK_REMOVABLE

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMerge pull request #4 from OwenSmith/upstream
Ben Chalmers [Wed, 23 Oct 2013 14:34:42 +0000 (07:34 -0700)]
Merge pull request #4 from OwenSmith/upstream

Remove KeFlushQueuedDpcs on disable

Approved-By: Ben Chalmers <ben.chalmers@citrix.com>
11 years agoMerge branch 'upstream' of github.com:OwenSmith/win-xenvbd into upstream
Owen Smith [Wed, 23 Oct 2013 14:26:46 +0000 (15:26 +0100)]
Merge branch 'upstream' of github.com:OwenSmith/win-xenvbd into upstream

11 years agoRemove KeFlushQueuedDpcs on disable
Owen Smith [Wed, 23 Oct 2013 14:23:07 +0000 (15:23 +0100)]
Remove KeFlushQueuedDpcs on disable

The DPC checks for state before doing anything, allowing
a DPC to run (and exit immidiately) should be safe.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMerge branch 'upstream' of github.com:OwenSmith/win-xenvbd into upstream
Owen Smith [Mon, 21 Oct 2013 08:48:18 +0000 (09:48 +0100)]
Merge branch 'upstream' of github.com:OwenSmith/win-xenvbd into upstream

11 years agoMerge pull request #3 from benchalmers/upstream-ca-118809
Owen Smith [Fri, 18 Oct 2013 15:07:11 +0000 (08:07 -0700)]
Merge pull request #3 from benchalmers/upstream-ca-118809

[CA-118809] Use 64 bit abi
Approved By : owen.smith@citrix.com

11 years ago[CA-118809] Use 64 bit abi
Ben Chalmers [Fri, 18 Oct 2013 15:01:20 +0000 (16:01 +0100)]
[CA-118809] Use 64 bit abi

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoFix typos
Owen Smith [Thu, 10 Oct 2013 08:36:22 +0000 (09:36 +0100)]
Fix typos

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoFix typo
Paul Durrant [Tue, 1 Oct 2013 13:21:17 +0000 (14:21 +0100)]
Fix typo

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoNew README.md and INSTALL.md.
Paul Durrant [Tue, 1 Oct 2013 13:16:26 +0000 (14:16 +0100)]
New README.md and INSTALL.md.

Also fix some python/cygwin issues and imported header line endings.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoZwSetValueKey() was being called at DISPATCH_LEVEL from within the
Paul Durrant [Mon, 30 Sep 2013 09:57:43 +0000 (10:57 +0100)]
ZwSetValueKey() was being called at DISPATCH_LEVEL from within the
enumeration code.

Change the code structure to only play with the registry from the outer
scan function which runs at PASSIVE_LEVEL.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUpdate build to reflect version
Paul Durrant [Fri, 27 Sep 2013 12:58:16 +0000 (13:58 +0100)]
Update build to reflect version

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUpdate to 7.2.0
Paul Durrant [Fri, 27 Sep 2013 12:48:21 +0000 (13:48 +0100)]
Update to 7.2.0

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMSVC apparently 8-byte aligns 8-byte objects even in 32-bit builds
Paul Durrant [Fri, 27 Sep 2013 12:42:55 +0000 (13:42 +0100)]
MSVC apparently 8-byte aligns 8-byte objects even in 32-bit builds
so we need to use the 64-bit ABI to blkback/tap in all cases.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdd a DWORD value "NeedReboot" to the service key if a PDO fails
Paul Durrant [Thu, 26 Sep 2013 14:07:36 +0000 (15:07 +0100)]
Add a DWORD value "NeedReboot" to the service key if a PDO fails
to start because either the EMULATED interface is not available, or
an alias has yet to be unplugged.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdvertize the correct ABI to the backend when connecting.
Paul Durrant [Thu, 26 Sep 2013 09:26:38 +0000 (10:26 +0100)]
Advertize the correct ABI to the backend when connecting.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMerge branch 'upstream' of github.com:pauldu/win-xenvbd into upstream
Paul Durrant [Wed, 25 Sep 2013 12:56:26 +0000 (13:56 +0100)]
Merge branch 'upstream' of github.com:pauldu/win-xenvbd into upstream

11 years agoUpdate to new GNTTAB interface
Paul Durrant [Wed, 25 Sep 2013 12:43:36 +0000 (13:43 +0100)]
Update to new GNTTAB interface

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoSwitch to Xen 3.4 headers for backwards compatibility
Paul Durrant [Wed, 25 Sep 2013 12:30:59 +0000 (13:30 +0100)]
Switch to Xen 3.4 headers for backwards compatibility

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMake the unplug DISKS value a REG_MULTI_SZ instead of a REG_SZ
Paul Durrant [Thu, 19 Sep 2013 12:48:36 +0000 (13:48 +0100)]
Make the unplug DISKS value a REG_MULTI_SZ instead of a REG_SZ

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdd a .gitignore
Paul Durrant [Thu, 19 Sep 2013 12:39:09 +0000 (13:39 +0100)]
Add a .gitignore

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoRemove some build noise
Paul Durrant [Fri, 13 Sep 2013 08:58:13 +0000 (09:58 +0100)]
Remove some build noise

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMake the unplug DISKS value a REG_MULTI_SZ instead of a REG_SZ
Paul Durrant [Thu, 19 Sep 2013 12:48:36 +0000 (13:48 +0100)]
Make the unplug DISKS value a REG_MULTI_SZ instead of a REG_SZ

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoAdd a .gitignore
Paul Durrant [Thu, 19 Sep 2013 12:39:09 +0000 (13:39 +0100)]
Add a .gitignore

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoZero FDO entries on terminate to avoid ASSERT(IsZeroMemory) firing inappropriately
Owen Smith [Fri, 13 Sep 2013 09:15:48 +0000 (10:15 +0100)]
Zero FDO entries on terminate to avoid ASSERT(IsZeroMemory) firing inappropriately

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoRemove some build noise
Paul Durrant [Fri, 13 Sep 2013 08:58:13 +0000 (09:58 +0100)]
Remove some build noise

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUpdate coinstaller to write xenfilt/unplug/disks and xenvbd/count
Owen Smith [Thu, 12 Sep 2013 08:40:48 +0000 (09:40 +0100)]
Update coinstaller to write xenfilt/unplug/disks and xenvbd/count

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoInvert Emulated logic to improve clarity
Owen Smith [Tue, 10 Sep 2013 08:21:28 +0000 (09:21 +0100)]
Invert Emulated logic to improve clarity
EmulatedMasked becomes EmulatedUnplugged
(i.e. if emulated target is unplugged, the target should be PV)

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMove GNTTAB functionality to Granter.c
Owen Smith [Thu, 5 Sep 2013 15:54:09 +0000 (16:54 +0100)]
Move GNTTAB functionality to Granter.c

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMove blkif ring interface to BlockRing.c
Owen Smith [Thu, 5 Sep 2013 15:43:16 +0000 (16:43 +0100)]
Move blkif ring interface to BlockRing.c

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMove EVTCHN to Notifier.c
Owen Smith [Thu, 5 Sep 2013 15:29:06 +0000 (16:29 +0100)]
Move EVTCHN to Notifier.c

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoRefactor frontend.c to reduce excessive inlined functions
Owen Smith [Thu, 5 Sep 2013 15:05:57 +0000 (16:05 +0100)]
Refactor frontend.c to reduce excessive inlined functions

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoConsolidate srbext.h and ring.h
Owen Smith [Thu, 5 Sep 2013 10:04:59 +0000 (11:04 +0100)]
Consolidate srbext.h and ring.h

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoUse include path rather than relative paths
Owen Smith [Thu, 5 Sep 2013 09:29:11 +0000 (10:29 +0100)]
Use include path rather than relative paths

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoUpdate interfaces to win-xenbus/upstream
Owen Smith [Thu, 5 Sep 2013 09:00:09 +0000 (10:00 +0100)]
Update interfaces to win-xenbus/upstream
Rework __FdoIsPdoMasked to use the new interface

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoINF Changes (inc bindings)
Owen Smith [Thu, 5 Sep 2013 08:51:39 +0000 (09:51 +0100)]
INF Changes (inc bindings)
* Version stamp coinstaller
* Update bindings to match win-xenbus/upstream
* Use XenServer branding

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoSwitch to test signing.
Owen Smith [Thu, 5 Sep 2013 08:44:10 +0000 (09:44 +0100)]
Switch to test signing.
New xenvbd.pfx (no password) added to repo.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMerge pull request #2 from OwenSmith/master
Paul Durrant [Wed, 3 Jul 2013 12:46:17 +0000 (05:46 -0700)]
Merge pull request #2 from OwenSmith/master

Update minor number

11 years ago Update the minor number.
Owen Smith [Wed, 3 Jul 2013 12:36:23 +0000 (13:36 +0100)]
 Update the minor number.

When the repo was moved from mercurial to git the build system started
build numbers from #1 again. Bump the minor version number to avoid
confusion between these new builds and old builds of the original repo.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
11 years agoMerge pull request #1 from OwenSmith/master
Ben Chalmers [Mon, 24 Jun 2013 13:30:37 +0000 (06:30 -0700)]
Merge pull request #1 from OwenSmith/master

Prevent C4 BSOD when Verifier is active (deadlock detection)

11 years ago[CA-109634] Dont take state lock during suspend handler, as suspend code holds a...
Owen Smith [Mon, 24 Jun 2013 10:32:59 +0000 (11:32 +0100)]
[CA-109634] Dont take state lock during suspend handler, as suspend code holds a lock

11 years agoSync with existing internal repo
Ben Chalmers [Fri, 21 Jun 2013 10:25:19 +0000 (11:25 +0100)]
Sync with existing internal repo

changeset:   361:23c93d17c84b
tag:         tip
user:        Ben Chalmers <ben.chalmers@citrix.com>
date:        Wed Jun 19 11:07:54 2013 +0100
summary:     [CP-4195] Add README.md and associated files to xenvbd

changeset:   360:2d8c4bc19378
user:        Ben Chalmers <ben.chalmers@citrix.com>
date:        Wed Jun 19 11:03:47 2013 +0100
summary:     [CP-4195] Add README.md and associated files to xenvbd

changeset:   359:1d245f4d9b8f
user:        Owen Smith <owen.smith@citrix.com>
date:        Wed Jun 12 16:06:05 2013 +0100
summary:     Update vcxproj files to correctly build for targetting Vista

changeset:   358:dbca6328e21b
user:        Owen Smith <owen.smith@citrix.com>
date:        Tue Jun 11 10:50:43 2013 +0100
summary:     Update sdv script and use <> includes

changeset:   357:888e41763048
user:        Owen Smith <owen.smith@citrix.com>
date:        Fri May 31 15:32:20 2013 +0100
summary:     Update projects to build and run sdv

changeset:   356:ae01c618cdd1
user:        Owen Smith <owen.smith@citrix.com>
date:        Fri May 31 09:44:52 2013 +0100
summary:     CA-86240 - use common updated script files

changeset:   355:a51b6771ba94
user:        Ben Chalmers <ben.chalmers@citrix.com>
date:        Wed May 29 16:47:37 2013 +0100
summary:     [CP-4689] Add BSD licence header to inf files

11 years ago[CP-4699] Modify build.py to cope with jenkins git plugin
Ben Chalmers [Wed, 29 May 2013 08:47:03 +0000 (09:47 +0100)]
[CP-4699] Modify build.py to cope with jenkins git plugin

11 years agoFix scripts for git
Owen Smith [Tue, 28 May 2013 08:34:05 +0000 (09:34 +0100)]
Fix scripts for git

11 years ago[CP-4696] Git repository created for xenvbd
Owen Smith [Tue, 28 May 2013 08:17:30 +0000 (09:17 +0100)]
[CP-4696] Git repository created for xenvbd