mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0197-v2v-Fix-detection-of-Win2008R2-drivers-RHBZ-1234351.patch

ffd6ed
From ae37727f7181009851f1c9559d709231481be638 Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Wed, 1 Jul 2015 11:01:43 +0100
ffd6ed
Subject: [PATCH] v2v: Fix detection of Win2008R2 drivers (RHBZ#1234351).
ffd6ed
ffd6ed
This fixes commit 47b5f245bec908f803f0a89c3b1e3166cfe33aad.
ffd6ed
ffd6ed
(cherry picked from commit a324ae2ad72f2a2188eb0d4398c9e6548c499c5a)
ffd6ed
---
ffd6ed
 v2v/utils.ml | 2 +-
ffd6ed
 1 file changed, 1 insertion(+), 1 deletion(-)
ffd6ed
ffd6ed
diff --git a/v2v/utils.ml b/v2v/utils.ml
ffd6ed
index a301c56..000ec12 100644
ffd6ed
--- a/v2v/utils.ml
ffd6ed
+++ b/v2v/utils.ml
ffd6ed
@@ -229,7 +229,7 @@ let find_virtio_win_drivers ~verbose virtio_win =
ffd6ed
               (6, 0, Vwd_server)
ffd6ed
             else if pathelem "w7" || pathelem "win7" then
ffd6ed
               (6, 1, Vwd_client)
ffd6ed
-            else if pathelem "2k8r2" || pathelem "win2008" then
ffd6ed
+            else if pathelem "2k8r2" || pathelem "win2008r2" then
ffd6ed
               (6, 1, Vwd_server)
ffd6ed
             else if pathelem "w8" || pathelem "win8" then
ffd6ed
               (6, 2, Vwd_client)
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed