7.2.0 (2013-09-27):
* Drivers compatible with upstream Xen, QEMU and Linux dom0
-7.3.0 (2014-07-16):
+8.0.0 (2014-08-14):
* Drivers with new API version scheme
We also request you follow these basic guidelines:
-1. Make sure you test your changes on both 32- and 64-bit versions of Windows.
+1. Make sure you test your changes on both a 32- and 64-bit version of Windows.
+ (The more versions of Windows you can test on the better).
2. Make sure your changes do not introduce any new prefast warnings.
-3. All submissions must be made under the terms of the "Developer's Certificate
- of Origin" (DC) and should include a Signed-off-by: line.
+3. Make a patch available to the relevant maintainer in the list. Use 'diff -u'
+ to make the patch easy to merge. Be prepared to get your changes sent back
+ with seemingly silly requests about formatting and variable names. These
+ aren't as silly as they seem. One job the maintainers do is to keep things
+ looking the same.
-2. All Submissions should use Unix line endings for consitency with the rest of
- the XenServer project.
+ NOTE that all source should have Unix line endings.
-3. Each patch should include a descriptive commit comment that helps understand
- why the patch is necessary and why it works. This will be used both for
- initial review and for new people to understand how the code works later
+ PLEASE see http://wiki.xen.org/wiki/Submitting_Xen_Patches for hints on how
+ to submit a patch in a suitable form. Whilst the PV driver source
+ repositories are distinct from the Xen Project hypervisor source, we will
+ follow the same general patch submission and review process.
+
+ PLEASE try to include any credit lines you want added with the patch. It
+ avoids people being missed off by mistake and makes it easier to know who
+ wants adding and who doesn't.
+
+ PLEASE document known bugs. If it doesn't work for everything or does
+ something very odd once a month document it.
+
+ PLEASE remember that submissions must be made under the terms of the
+ "Developer's Certificate of Origin" (DCO) and should include a
+ Signed-off-by: line.
4. Make sure you have the right to submit any changes you make. If you do
changes at work you may find your employer owns the patches instead of
-XenNet - The XenServer Paravitual Network Device Driver for Windows
-===================================================================
+XenNet - The Xen Paravitual Network Device Driver for Windows
+=============================================================
The XenNet package consists of a single device driver:
* xennet.sys is an NDIS6 miniport driver which attaches to a virtual
- device created by XenVif (see https://github.com/xenserver/win-xenvif)
- and uses the *netif* wire protocol implementation in XenVif to
- interface to a paravirtual network backend.
+ device created by XenVif and uses the *netif* wire protocol
+ implementation in XenVif to interface to a paravirtual network
+ backend.
Quick Start Guide
=================
now = datetime.datetime.now()
file = open('include\\version.h', 'w')
+
+ file.write('#define COMPANY_NAME_STR\t"' + os.environ['COMPANY_NAME'] + '"\n')
+ file.write('#define PRODUCT_NAME_STR\t"' + os.environ['PRODUCT_NAME'] + '"\n')
+ file.write('\n')
+
file.write('#define MAJOR_VERSION\t' + os.environ['MAJOR_VERSION'] + '\n')
file.write('#define MAJOR_VERSION_STR\t"' + os.environ['MAJOR_VERSION'] + '"\n')
file.write('\n')
file.write('#define YEAR\t' + str(now.year) + '\n')
file.write('#define YEAR_STR\t"' + str(now.year) + '"\n')
+ file.write('\n')
file.write('#define MONTH\t' + str(now.month) + '\n')
file.write('#define MONTH_STR\t"' + str(now.month) + '"\n')
+ file.write('\n')
file.write('#define DAY\t' + str(now.day) + '\n')
file.write('#define DAY_STR\t"' + str(now.day) + '"\n')
+ file.write('\n')
file.close()
line = re.sub('@MINOR_VERSION@', os.environ['MINOR_VERSION'], line)
line = re.sub('@MICRO_VERSION@', os.environ['MICRO_VERSION'], line)
line = re.sub('@BUILD_NUMBER@', os.environ['BUILD_NUMBER'], line)
+ line = re.sub('@COMPANY_NAME@', os.environ['COMPANY_NAME'], line)
+ line = re.sub('@PRODUCT_NAME@', os.environ['PRODUCT_NAME'], line)
dst.write(line)
dst.close()
sdv = { 'nosdv': False, None: True }
driver = 'xennet'
- os.environ['MAJOR_VERSION'] = '7'
- os.environ['MINOR_VERSION'] = '3'
+ if 'COMPANY_NAME' not in os.environ.keys():
+ os.environ['COMPANY_NAME'] = 'Xen Project'
+
+ if 'PRODUCT_NAME' not in os.environ.keys():
+ os.environ['PRODUCT_NAME'] = 'Xen'
+
+ os.environ['MAJOR_VERSION'] = '8'
+ os.environ['MINOR_VERSION'] = '0'
os.environ['MICRO_VERSION'] = '0'
if 'BUILD_NUMBER' not in os.environ.keys():
Signature="$Windows NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
-Provider=%Citrix%
+Provider=%Company%
CatalogFile=xennet.cat
DriverVer=01/01/1900,0.0.0.0
xennet_coinst_@MAJOR_VERSION@_@MINOR_VERSION@_@MICRO_VERSION@_@BUILD_NUMBER@.dll,xennet_coinst.dll
[Manufacturer]
-%Citrix%=Citrix,NT$ARCH$
+%Company%=Inst,NT$ARCH$
-[Citrix.NT$ARCH$]
+[Inst.NT$ARCH$]
; DisplayName Section DeviceID
; ----------- ------- --------
[Strings]
-Citrix="Citrix Systems Inc."
-DiskDesc="XenServer Tools for Virtual Machines"
-XenNetDesc="XenServer PV Network Device"
+Company="@COMPANY_NAME@"
+DiskDesc="@PRODUCT_NAME@ PV Network Device Package"
+XenNetDesc="@PRODUCT_NAME@ PV Network Device"
IPChecksumOffloadIPv4="IPv4 Checksum Offload"
TCPChecksumOffloadIPv4="TCP Checksum Offload (IPv4)"
UDPChecksumOffloadIPv4="UDP Checksum Offload (IPv4)"
break;
case OID_GEN_VENDOR_DESCRIPTION:
- info = "Citrix";
+ info = COMPANY_NAME_STR;
bytesAvailable = (ULONG)strlen(info) + 1;
break;
#undef VER_PRODUCTVERSION
#undef VER_PRODUCTVERSION_STR
-#define VER_COMPANYNAME_STR "Citrix Systems Inc."
-#define VER_LEGALCOPYRIGHT_STR "Copyright " YEAR_STR VER_COMPANYNAME_STR
-
#include <version.h>
+#define VER_COMPANYNAME_STR COMPANY_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR "Copyright (c) Citrix Systems Inc."
+
#define VER_PRODUCTNAME_STR "XENNET"
#define VER_PRODUCTVERSION MAJOR_VERSION,MINOR_VERSION,MICRO_VERSION,BUILD_NUMBER
#define VER_PRODUCTVERSION_STR MAJOR_VERSION_STR "." MINOR_VERSION_STR "." MICRO_VERSION_STR "." BUILD_NUMBER_STR