-XenVbd - The XenServer Paravitual Storage Class Driver for Windows
-==================================================================
+XenVbd - The Xen Paravitual Storage Class Driver for Windows
+============================================================
The XenVbd package consists of two single device drivers:
* xenvbd.sys is a STORPORT miniport driver which attaches to a virtual
- device created by XenBus (see https://github.com/xenserver/win-xenbus)
- and creates a child device for each VBD for the generic disk driver to
- attach to.
+ device created by XenBus and creates a child device for each VBD for
+ the generic disk driver (disk.sys) to attach to.
It is also a protocol driver for the blkif wire protocol (see
include\\xen\\io\\blkif.h).
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="..\configs.props" />
<ItemGroup>
<None Include="..\..\src\coinst\xenvbd_coinst.def" />
</ItemGroup>
- <ItemGroup>
- <ResourceCompile Include="..\..\src\coinst\xenvbd_coinst.rc" />
- </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
\ No newline at end of file
+++ /dev/null
-/* Copyright (c) Citrix Systems Inc.
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms,
- * with or without modification, are permitted provided
- * that the following conditions are met:
- *
- * * Redistributions of source code must retain the above
- * copyright notice, this list of conditions and the
- * following disclaimer.
- * * Redistributions in binary form must reproduce the above
- * copyright notice, this list of conditions and the
- * following disclaimer in the documentation and/or other
- * materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
- * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
- * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
- * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
- * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-#include <windows.h>
-#include <ntverp.h>
-
-
-#undef VER_COMPANYNAME_STR
-#undef VER_PRODUCTNAME_STR
-#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_PRODUCTNAME_STR "Citrix PV Tools for Virtual Machines"
-#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
-
-#define VER_INTERNALNAME_STR "XENVBD_COINST.DLL"
-#define VER_FILEDESCRIPTION_STR "Citrix Xen PV Disk Coinstaller"
-
-#define VER_FILETYPE VFT_DRV
-#define VER_FILESUBTYPE VFT2_DRV_SYSTEM
-
-#include <common.ver>
#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>
-#include "..\..\include\version.h"
+#define VER_COMPANYNAME_STR COMPANY_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR "Copyright (c) Citrix Systems Inc."
-#define VER_PRODUCTNAME_STR "Citrix PV Tools for Virtual Machines"
+#define VER_PRODUCTNAME_STR "XENCRSH"
#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
#define VER_INTERNALNAME_STR "XENCRSH.SYS"
-#define VER_FILEDESCRIPTION_STR "Citrix Xen PV Disk Interface (Crash/Hiber)"
+#define VER_FILEDESCRIPTION_STR "XENCRSH"
#define VER_FILETYPE VFT_DRV
#define VER_FILESUBTYPE VFT2_DRV_SYSTEM
Signature="$Windows NT$"
Class=SCSIAdapter
ClassGUID={4D36E97B-E325-11CE-BFC1-08002BE10318}
-Provider=%Citrix%
+Provider=%Company%
CatalogFile=xenvbd.cat
DriverVer=01/01/1900,0.0.0.0
xenvbd_coinst.dll=0,,
[Manufacturer]
-%Citrix%=Citrix,NT$ARCH$
+%Company%=Inst,NT$ARCH$
-[Citrix.NT$ARCH$]
+[Inst.NT$ARCH$]
%XenVbdDesc%=XenVbd_Inst,XENBUS\VEN_XSC000&DEV_VBD&REV_00000001
%XenVbdDesc%=XenVbd_Inst,XENBUS\VEN_XS0001&DEV_VBD&REV_00000001
%XenVbdDesc%=XenVbd_Inst,XENBUS\VEN_XS0002&DEV_VBD&REV_00000001
[Strings]
-Citrix= "Citrix Systems, Inc."
-DiskDesc = "XenServer Tools for Virtual Machines"
-XenVbdDesc= "XenServer PV Storage Host Adapter"
+Company = "@COMPANY_NAME@"
+DiskDesc = "@PRODUCT_NAME@ PV Storage Host Adapter Package"
+XenVbdDesc= "@PRODUCT_NAME@ PV Storage Host Adapter"
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
#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_PRODUCTNAME_STR "XenServer PV Tools for Virtual Machines"
+#define VER_COMPANYNAME_STR COMPANY_NAME_STR
+#define VER_LEGALCOPYRIGHT_STR "Copyright (c) Citrix Systems Inc."
+
+#define VER_PRODUCTNAME_STR "XENVBD"
#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
#define VER_INTERNALNAME_STR "XENVBD.SYS"
-#define VER_FILEDESCRIPTION_STR "XenServer PV Storage Host Adapter"
+#define VER_FILEDESCRIPTION_STR "XENVBD"
#define VER_FILETYPE VFT_DRV
#define VER_FILESUBTYPE VFT2_DRV_SYSTEM