[Spice-devel] [NSIS] Install virtio-rng driver

Yedidyah Bar David didi at redhat.com
Sun Jan 22 14:07:22 UTC 2017


Bug-Url: https://bugzilla.redhat.com/1398560
Change-Id: Ic7bad17fd01dc3d2d9c6a4f530eff724c4ea9403
Signed-off-by: Yedidyah Bar David <didi at redhat.com>
---
 win-guest-tools.nsis | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 1951721..9a90444 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -188,6 +188,21 @@ Section "install"
   Push "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00"
   Call InstallDriver
 
+  # Install rng driver
+  ${If}  ${IsWinVista}
+  ${OrIf} ${IsWin2008}
+  ${OrIf} ${IsWin7}
+  ${OrIf} ${IsWin2008R2}
+  ${OrIf} ${IsWin8}
+  ${OrIf} ${IsWin2012}
+  ${OrIf} ${IsWin8.1}
+  ${OrIf} ${IsWin2012R2}
+    Push "viorng"
+    Push "viorng"
+    Push "PCI\VEN_1AF4&DEV_1002"
+    Call InstallDriver
+  ${EndIf}
+
 !ifdef OVIRT
   Call InstallOVirtAgentService
 !endif
-- 
1.8.3.1



More information about the Spice-devel mailing list