]> xenbits.xensource.com Git - pvdrivers/win/xeniface.git/log
pvdrivers/win/xeniface.git
9 years agoAvoid evaluating assertion expressions in free builds staging-8.1 8.1.0 8.1.0-rc7
Paul Durrant [Fri, 22 Jan 2016 17:11:13 +0000 (17:11 +0000)]
Avoid evaluating assertion expressions in free builds

The evaluations are pointless and the warnings generated by not evaluating
can be squashed with a couple of #pragmas.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoRe-synchronize registry.c with XENBUS 8.1.0-rc6
Paul Durrant [Thu, 10 Dec 2015 11:53:15 +0000 (11:53 +0000)]
Re-synchronize registry.c with XENBUS

The registry code in XENBUS has some fixes that are not present in the
XENIFACE copy, so import the updated code from XENBUS.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoRe-synchronize util.h with XENBUS and use __toupper()
Paul Durrant [Thu, 10 Dec 2015 11:38:54 +0000 (11:38 +0000)]
Re-synchronize util.h with XENBUS and use __toupper()

A recent patch introduced __tolower() and __toupper() into util.h as
replacements for tolower() and toupper() respectively as the latter do
a hidden conversion to Unicode which make then unsafe at any IRQL other
than PASSIVE_LEVEL.
This patch imports util.h from XENBUS and fixes other code to be compatible.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoPublish distribution information to xenstore 8.1.0-rc5
Paul Durrant [Wed, 25 Nov 2015 14:00:44 +0000 (14:00 +0000)]
Publish distribution information to xenstore

My recent patch series to Xen added a documented path and format for
publishing information about PV driver distributions to xenstore.

This patch adds code to populate the documented path (should it exist)
with information about the XENIFACE driver package.

Suggested-by: Owen Smith <owen.smith@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoDont force a WMI event when reregistering a watch 8.1.0-rc4
Owen Smith [Tue, 17 Nov 2015 17:05:23 +0000 (17:05 +0000)]
Dont force a WMI event when reregistering a watch

When a watch is registered, the watch gets triggered. This will result
in a WMI event being fired. There is no need to manually fire a WMI
event in this case, as it can lead to the WMI event being discarded.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
9 years agoAdd a registry override to veto driver installations 8.1.0-rc3
Paul Durrant [Thu, 22 Oct 2015 15:22:02 +0000 (16:22 +0100)]
Add a registry override to veto driver installations

There are certain cases where a local installer package may wish to
prevent Windows Update installations of drivers. This can be achieved by
having the co-installer check for a registry value and fail it's pre-install
phase if the value is present.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoChange coinstaller log level to TXTLOG_WARNING
Paul Durrant [Thu, 22 Oct 2015 13:56:00 +0000 (14:56 +0100)]
Change coinstaller log level to TXTLOG_WARNING

Windows 10 does not enable logging of TXTLOG_DETAILS in setupapi.dev.log by
default, so use TXTLOG_WARNING to make sure the messages appear.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoParameterize vendor prefix and PCI device id 8.1.0-rc2
Paul Durrant [Tue, 8 Sep 2015 16:59:49 +0000 (17:59 +0100)]
Parameterize vendor prefix and PCI device id

The XenServer PV vendor prefix ('XS') and PCI device (C000) are still
hard-coded into the XENIFACE package. These need to be stripped out and
replaced by values that can be customized at build time. This patch does
that.

The patch also reverts to building version.h and customizing xeniface.inf
directly in build.py.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoUpdate docs and set version to 8.1.0 8.1.0-rc1
Paul Durrant [Fri, 24 Jul 2015 11:49:14 +0000 (12:49 +0100)]
Update docs and set version to 8.1.0

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoRemove use of subscriber keys from co-installer
Paul Durrant [Fri, 17 Jul 2015 15:56:19 +0000 (16:56 +0100)]
Remove use of subscriber keys from co-installer

They are no longer necessary. The co-installer actually does nothing now
and can probably be removed.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoUpdate bindings
Paul Durrant [Fri, 17 Jul 2015 15:52:01 +0000 (16:52 +0100)]
Update bindings

A recent change to XENBUS to introduce a new unplug mechanism was
incompatible with older drivers so the PDO revisions were deliberately
changed. This patch brings XENIFACE up to date with the new revision
number.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
9 years agoUpdate bindings
Paul Durrant [Wed, 8 Jul 2015 13:28:40 +0000 (14:28 +0100)]
Update bindings

Refresh the interface headers and add the XENBUS major version into
the top byte of the revision, since this is now used to avoid namespace
conflicts.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoSet script file execute permissions
Paul Durrant [Thu, 12 Mar 2015 11:37:11 +0000 (11:37 +0000)]
Set script file execute permissions

The lack of execute persmission causes clones done using cygwin git to
leave scripts in a non-executable state.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFix VS2013 SDV failures
Paul Durrant [Mon, 2 Mar 2015 17:47:40 +0000 (17:47 +0000)]
Fix VS2013 SDV failures

Also update the assert.h header.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoMove interface subscription code into co-installer
Paul Durrant [Tue, 13 Jan 2015 16:42:33 +0000 (16:42 +0000)]
Move interface subscription code into co-installer

Interface subscription is better handled at package installation time and
therefore the co-installer is the right place for it to live.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoAdd a co-installer
Paul Durrant [Tue, 13 Jan 2015 16:07:25 +0000 (16:07 +0000)]
Add a co-installer

The co-installer does not do anything as yet. Functionality will be added in
a subsequent patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFix line endings
Paul Durrant [Tue, 13 Jan 2015 16:50:48 +0000 (16:50 +0000)]
Fix line endings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoMake sure INF gets re-built each time
Paul Durrant [Fri, 19 Dec 2014 15:45:32 +0000 (15:45 +0000)]
Make sure INF gets re-built each time

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoMake sure version header gets re-built each time
Paul Durrant [Fri, 19 Dec 2014 13:21:09 +0000 (13:21 +0000)]
Make sure version header gets re-built each time

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFix line endings
Paul Durrant [Tue, 7 Oct 2014 14:12:57 +0000 (15:12 +0100)]
Fix line endings

Files checked into the repository should use unix line endings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFix OBJECT_PREFIX and PRODUCT_NAME substitution
Paul Durrant [Tue, 7 Oct 2014 14:10:54 +0000 (15:10 +0100)]
Fix OBJECT_PREFIX and PRODUCT_NAME substitution

There were missing trailing '@' characters causing substitution to fail.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoReduce spam from build.py
Paul Durrant [Thu, 25 Sep 2014 15:17:01 +0000 (16:17 +0100)]
Reduce spam from build.py

We don't the verbose prints when deciding whether we're using vs2012 or 2013.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoDon't use universal_newlines=True in subprocess.Popen()
Paul Durrant [Thu, 25 Sep 2014 14:06:31 +0000 (15:06 +0100)]
Don't use universal_newlines=True in subprocess.Popen()

For some versions of python this appears to cause corruption of the
output byte string by forcibly decoding with the wrong encoding.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoSupport Visual Studio 2013 & WDK 8.1
Ben Chalmers [Tue, 19 Aug 2014 09:55:38 +0000 (10:55 +0100)]
Support Visual Studio 2013 & WDK 8.1

Signed-off-by: Ben Chalmers <ben.chalmers@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoUpdate branding
Paul Durrant [Fri, 15 Aug 2014 13:22:17 +0000 (14:22 +0100)]
Update branding

Remove the use of the 'XenServer' product name except where it is
still appropriate.
Remove use of 'Citrix' from all places except source file
copyrights.
Allow company and product name to be set at build time.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoFix/suppress prefast warnings
Paul Durrant [Fri, 15 Aug 2014 10:14:37 +0000 (11:14 +0100)]
Fix/suppress prefast warnings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
10 years agoImplement new API version scheme
Paul Durrant [Tue, 22 Jul 2014 14:28:56 +0000 (15:28 +0100)]
Implement new API version scheme

This patch changes the way APIs work in an incompatible way. (See README.md
for details).
The patch also includes a *lot* of code tidying and movement and as such
is not really suitable for review as a patch; the resulting code should
itself be reviewed.
Given the scale of the change, the major version number has been revised to
8 and other version numbers reset to zero.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoMerge pull request #12 from benchalmers/sdv
Paul Durrant [Tue, 25 Mar 2014 11:09:31 +0000 (11:09 +0000)]
Merge pull request #12 from benchalmers/sdv

Add SDV to the standard build

11 years agoAdd SDV to the standard build
Ben Chalmers [Tue, 25 Mar 2014 11:02:59 +0000 (11:02 +0000)]
Add SDV to the standard build

11 years agoMerge pull request #11 from benchalmers/CP-7374
Paul Durrant [Tue, 28 Jan 2014 16:53:21 +0000 (08:53 -0800)]
Merge pull request #11 from benchalmers/CP-7374

[CP-7374] Port UTC Hosttime / timezone support to lite agent

11 years ago[CP-7374] Bugfixes to lite agent UTC hosttime code
Ben Chalmers [Mon, 27 Jan 2014 09:59:18 +0000 (09:59 +0000)]
[CP-7374] Bugfixes to lite agent UTC hosttime code

Cope with WoW64
Cope with failing to read a DWORD from xenstore
Reorder some misleading logging

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge
Ben Chalmers [Thu, 16 Jan 2014 13:09:52 +0000 (13:09 +0000)]
Merge

11 years agoMerge pull request #10 from benchalmers/cp-7391-2
Ben Chalmers [Mon, 13 Jan 2014 10:18:14 +0000 (02:18 -0800)]
Merge pull request #10 from benchalmers/cp-7391-2

[CP-7391] Ensure new directories are created when copying release binari...

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

11 years ago[CP-7391] Ensure new directories are created when copying release binaries too
Ben Chalmers [Mon, 13 Jan 2014 10:13:59 +0000 (10:13 +0000)]
[CP-7391] Ensure new directories are created when copying release binaries too

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #9 from benchalmers/cp-7391-2
Paul Durrant [Mon, 13 Jan 2014 09:56:53 +0000 (01:56 -0800)]
Merge pull request #9 from benchalmers/cp-7391-2

[CP-7391] Ensure new directories are created when copying binaries

11 years ago[CP-7391] Ensure new directories are created when copying binaries
Ben Chalmers [Mon, 13 Jan 2014 09:38:18 +0000 (09:38 +0000)]
[CP-7391] Ensure new directories are created when copying binaries

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #8 from benchalmers/ca-119964
Paul Durrant [Thu, 9 Jan 2014 09:29:15 +0000 (01:29 -0800)]
Merge pull request #8 from benchalmers/ca-119964

[CA-119964] Remove a null dereferece which causes an exception

11 years ago[CA-119964] Remove a null dereferece which causes an exception
Ben Chalmers [Thu, 9 Jan 2014 08:46:05 +0000 (08:46 +0000)]
[CA-119964] Remove a null dereferece which causes an exception

Also:
Free a XenStore allocation using XSFree
Spell XenServer correctly
Remove the debug eventlog message on shutdown (messages on resume from
  suspend, wmi failure and unexpected error conditions remain as these
  will be useful for issue identification)

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #7 from benchalmers/ca-119964
Ben Chalmers [Fri, 3 Jan 2014 14:41:23 +0000 (06:41 -0800)]
Merge pull request #7 from benchalmers/ca-119964

[CA-119964] Trap exceptions and recover gracefully

Approved-by: Ben Chalmers <ben.chalmers@citrix.com>
11 years ago[CA-119964] Trap exceptions and recover gracefully
Ben Chalmers [Fri, 3 Jan 2014 14:39:28 +0000 (14:39 +0000)]
[CA-119964] Trap exceptions and recover gracefully

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #6 from benchalmers/ca-119964
Ben Chalmers [Thu, 2 Jan 2014 10:05:02 +0000 (02:05 -0800)]
Merge pull request #6 from benchalmers/ca-119964

Ca 119964 Lite agent changes to log more errors when WMI watches are received

Approved by Ben Chalmers <ben.chalmers@citrix.com>

11 years ago[CA-119964] Do not fail when WMI Remove does not provide a respose object
Ben Chalmers [Thu, 2 Jan 2014 09:27:40 +0000 (09:27 +0000)]
[CA-119964] Do not fail when WMI Remove does not provide a respose object

This is the expected behavior - it never provides a response object

(Also add some additional logging to help spot reasons for failure)

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years ago[CAR-1423] Port UTC hostime / timezone support to lite agent
Ben Chalmers [Tue, 31 Dec 2013 11:13:15 +0000 (11:13 +0000)]
[CAR-1423] Port UTC hostime / timezone support to lite agent

11 years agoMerge branch 'master' of ssh://github.com/xenserver/win-xeniface into ca-119964
Ben Chalmers [Mon, 30 Dec 2013 14:15:40 +0000 (14:15 +0000)]
Merge branch 'master' of ssh://github.com/xenserver/win-xeniface into ca-119964

11 years ago[ca-119964] Store LiteAgent symbols in xeniface tarfile
Ben Chalmers [Mon, 30 Dec 2013 14:00:06 +0000 (14:00 +0000)]
[ca-119964] Store LiteAgent symbols in xeniface tarfile

11 years ago[CA-119964] Add (excessive) event logging to id potential WMI failures
Ben Chalmers [Mon, 30 Dec 2013 09:33:06 +0000 (09:33 +0000)]
[CA-119964] Add (excessive) event logging to id potential WMI failures

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #5 from benchalmers/notabs2
Paul Durrant [Fri, 13 Dec 2013 14:31:11 +0000 (06:31 -0800)]
Merge pull request #5 from benchalmers/notabs2

Standardise on spaces, not tabs, for indentation in lite agent

11 years agoStandardise on spaces, not tabs, for indentation in lite agent
Ben Chalmers [Fri, 13 Dec 2013 14:27:36 +0000 (14:27 +0000)]
Standardise on spaces, not tabs, for indentation in lite agent

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #4 from benchalmers/ca-122026
Paul Durrant [Fri, 13 Dec 2013 14:16:34 +0000 (06:16 -0800)]
Merge pull request #4 from benchalmers/ca-122026

[CA-122026] Lite aganet stability improvements

11 years ago[CA-122026] Lite aganet stability improvements
Ben Chalmers [Fri, 13 Dec 2013 13:38:54 +0000 (13:38 +0000)]
[CA-122026] Lite aganet stability improvements

Do not crash when permissions stop you advertising features
Cope with reading fron 0 length xenstore entries
Use XsLog not XsLogMsg

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years agoMerge pull request #2 from benchalmers/ca-119899
Paul Durrant [Tue, 5 Nov 2013 10:03:39 +0000 (02:03 -0800)]
Merge pull request #2 from benchalmers/ca-119899

[CA-119899] Fix error reporting so that xapi kicks occur correctly

11 years ago[CA-119899] Fix error reporting so that xapi kicks occur correctly
Ben Chalmers [Mon, 4 Nov 2013 16:48:18 +0000 (16:48 +0000)]
[CA-119899] Fix error reporting so that xapi kicks occur correctly

11 years agoMerge pull request #1 from benchalmers/upstream-cp-6209
Ben Chalmers [Mon, 14 Oct 2013 14:43:02 +0000 (07:43 -0700)]
Merge pull request #1 from benchalmers/upstream-cp-6209

[CP-6209] Add the lite guest aganet to the xeniface build
Approved-By: Ben Chalmers <ben.chalmers@citrix.com>
11 years agoMerge branch 'cp-6209-new3' into cp-6209-new
Ben Chalmers [Mon, 14 Oct 2013 12:26:45 +0000 (13:26 +0100)]
Merge branch 'cp-6209-new3' into cp-6209-new

11 years ago[CP-6209] Initial version of the lite guest agent
Ben Chalmers [Thu, 26 Sep 2013 14:25:26 +0000 (15:25 +0100)]
[CP-6209] Initial version of the lite guest agent

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

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoUpdate build to reflect version
Paul Durrant [Fri, 27 Sep 2013 12:54:49 +0000 (13:54 +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:53:57 +0000 (13:53 +0100)]
Update to 7.2.0

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoFix things for upstream
Paul Durrant [Mon, 9 Sep 2013 16:20:38 +0000 (17:20 +0100)]
Fix things for upstream

Modified the INF file for the new binding and fixed the branding there and
in xeniface.rc. Also switched over to test-signing.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years agoRemove redundant file
Paul Durrant [Mon, 9 Sep 2013 14:14:21 +0000 (15:14 +0100)]
Remove redundant file

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
11 years ago[CP-5276] Move suspend and resume watches so they only happen on system power changes
Ben Chalmers [Thu, 11 Jul 2013 08:13:08 +0000 (09:13 +0100)]
[CP-5276] Move suspend and resume watches so they only happen on system power changes

11 years ago[CP-5276] Suspend and resume watches on power transitions
Ben Chalmers [Tue, 9 Jul 2013 09:35:26 +0000 (10:35 +0100)]
[CP-5276] Suspend and resume watches on power transitions

11 years agoInitial commit of fully open xeniface code
Ben Chalmers [Fri, 5 Jul 2013 13:48:20 +0000 (14:48 +0100)]
Initial commit of fully open xeniface code

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
11 years ago[CP-4696] Git repository created for xeniface
Ben Chalmers [Tue, 28 May 2013 11:10:07 +0000 (12:10 +0100)]
[CP-4696] Git repository created for xeniface