feisky

云计算、虚拟化与Linux技术笔记
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

windows pv driver源码编译安装手册

Posted on 2011-12-29 16:58  feisky  阅读(724)  评论(0编辑  收藏  举报

资源准备

windows pv-driver源码:

http://xenbits.xensource.com/ext/win-pvdrivers.hg 

WDK:

http://msdn.microsoft.com/en-us/windows/hardware/gg487463.aspx

 Mercurial:(用于下载windows pv-driver源码)

http://mercurial.selenic.com/downloads/

 7-zip:

http://sparanoid.com/lab/7z/

或者

http://www.skycn.com/down.php?uri=http://118.72.254.219:82/down/7z920.exe

 Windows Installer XML (WiX):

http://wix.sourceforge.net/

 

Windows Server 2003 HVM Guest PV Driver编译

 安装WDK

 安装7-zip

 安装wix

 安装Mercurial

 下载windows pv-driver源码(启动命令提示符CMD)

# mkdir WindowsPVDriver

# cd WindowsPVDriver

# hg clone http://xenbits.xensource.com/ext/ win-pvdrivers.hg

Note:目前windows pv driver在闭关完善,上述hg地址已经取消,仅仅存在

http://xenbits.xensource.com/ext/win-pvdrivers地址,无法通过hg clone直接下载

  编辑脚本

用记事本打开makedist.bat,修改如下位置:

IF NOT EXIST set_ddk_path.bat ECHO >set_ddk_path.bat SET DDK_PATH       \

=C:\WinDDK\7600.16385.0   

修改为DDK安装路径,同时修改为对应版本号

 

IF NOT EXIST gplpv.cer "%DDK_PATH%"\bin\selfsign\MakeCert.exe -r -pe –ss    \

 PrivateCertStore -n "CN=GPLPV_Test_Cert" gplpv.cer  

修改为MakeCert.exe所在路径,一般为\bin\x86\MakeCert.exe

 

用记事本打开sign.bat,用替换功能将所有的”/v /s”替换为”/v /a /s”,同时删除所有” /t http://timestamp.verisign.com/scripts/timestamp.dll”项

 

用记事本打开wix.bat,将”/v /s”替换为”/v /a /s”,同时删除所有” /t http://timestamp.verisign.com/scripts/timestamp.dll”项

 

用记事本打开archive.bat,确认7-Zip的安装路径是否为"%PROGRAMFILES%\7-Zip\7z.exe" 

编译

双击运行makedist.bat

如果一切成功,将会在makedist.bat所在目录下生成各个版本的gplpv(比如2003的为gplpv_2003x32_0.11.0.1.msi)。

 

Windows Server 2003 HVM Guest PV Driver安装

1)       安装过程中会有警告框提示“软件没有windows徽标测试,无法验证兼容性”,所有类似框都选择“仍然继续”

2)       安装过程中会有安全警告,提示“没有正确使用Authenticode(TM)技术签名”,所有类似框选择是

3)       安装过程中会出现“欢迎使用找到新硬件向导”提示框,选择选项“否,暂时不(T)”选项,然后单击下一步,下一步中选择“自动安装软件(推荐)(I)”选项,单击下一步

4)       安装完成之后重启系统,查看设备管理可以看到对应的设备和驱动

 

 

20110916 最新的一份编译的msi

http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers


转自:http://hi.baidu.com/%B0%B5%D4%C2%C1%F7%B9%E2/blog/item/222247b20d9fa9b0d8335a23.html

无觅相关文章插件,快速提升流量