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

Yedidyah Bar David didi at redhat.com
Mon Jan 23 11:12:05 UTC 2017


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

diff --git a/win-guest-tools.nsis b/win-guest-tools.nsis
index 2092edc..8d57d85 100644
--- a/win-guest-tools.nsis
+++ b/win-guest-tools.nsis
@@ -181,6 +181,14 @@ Section "install"
   Push "PCI\VEN_1AF4&DEV_1000&SUBSYS_00011AF4&REV_00"
   Call InstallDriver
 
+  # Install rng driver
+  ${If} ${AtLeastWinVista}
+    Push "viorng"
+    Push "viorng"
+    Push "PCI\VEN_1AF4&DEV_1005"
+    Call InstallDriver
+  ${EndIf}
+
 !ifdef OVIRT
   Call InstallOVirtAgentService
 !endif
-- 
1.8.3.1



More information about the Spice-devel mailing list