https://github.com/xenserver/win-xennet
XenServer Windows Network Device Driver
https://github.com/xenserver/win-xennet
Last synced: 6 months ago
JSON representation
XenServer Windows Network Device Driver
- Host: GitHub
- URL: https://github.com/xenserver/win-xennet
- Owner: xenserver
- License: bsd-2-clause
- Created: 2013-06-21T14:35:02.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2015-04-28T16:11:22.000Z (about 11 years ago)
- Last Synced: 2026-01-11T17:23:12.977Z (6 months ago)
- Language: C
- Size: 373 KB
- Stars: 8
- Watchers: 8
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
XenNet - The XenServer 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.
Quick Start Guide
=================
Building the driver
-------------------
First you'll need a device driver build environment for Windows 8. For this
you must use:
* Visual Studio 2012 (Professional or Ultimate)
* Windows Driver Kit 8
(See http://msdn.microsoft.com/en-us/windows/hardware/hh852365.aspx). You
may find it useful to install VirtualCloneDrive from http://www.slysoft.com
as Visual Studio is generally supplied in ISO form.
Install Visual Studio first (you only need install MFC for C++) and then
the WDK. Set an environment variable called VS to the base of the Visual
Studio Installation (e.g. C:\Program Files\Microsoft Visual Studio 11.0) and
a variable called KIT to the base of the WDK
(e.g. C:\Program Files\Windows Kits\8.0). Also set an environment variable
called SYMBOL\_SERVER to point at a location where driver symbols can be
stored. This can be local directory e.g. C:\Symbols.
Next you'll need a 3.x version of python (which you can get from
http://www.python.org). Make sure python.exe is somewhere on your default
path.
Now fire up a Command Prompt and navigate to the base of your git repository.
At the prompt type:
build.py checked
This will create a debug build of the driver. To create a non-debug build
type:
build.py free
Installing the driver
---------------------
See INSTALL.md
Miscellaneous
=============
For convenience the source repository includes some other scripts:
kdfiles.py
----------
This generates two files called kdfiles32.txt and kdfiles64.txt which can
be used as map files for the .kdfiles WinDBG command.
sdv.py
------
This runs Static Driver Verifier on the source.
clean.py
--------
This removes any files not checked into the repository and not covered by
the .gitignore file.