Blame SOURCES/0151-v2v-Add-support-for-Win2016-virtio-drivers.patch

e76f14
From a1b6b441af71dbc032eed3d4707e851e1f019270 Mon Sep 17 00:00:00 2001
e76f14
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Golembiovsk=C3=BD?= <tgolembi@redhat.com>
e76f14
Date: Tue, 12 Jul 2016 05:53:49 +0200
e76f14
Subject: [PATCH] v2v: Add support for Win2016 virtio drivers
e76f14
MIME-Version: 1.0
e76f14
Content-Type: text/plain; charset=UTF-8
e76f14
Content-Transfer-Encoding: 8bit
e76f14
e76f14
Support virtio drivers for Windows Server 2016 once they are available.
e76f14
e76f14
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
e76f14
(cherry picked from commit e93d4ea320485e68b2e629ca3498d5475a373781)
e76f14
---
e76f14
 v2v/windows_virtio.ml | 2 ++
e76f14
 1 file changed, 2 insertions(+)
e76f14
e76f14
diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
e76f14
index 6237a09..c5d6c91 100644
e76f14
--- a/v2v/windows_virtio.ml
e76f14
+++ b/v2v/windows_virtio.ml
e76f14
@@ -456,6 +456,8 @@ and virtio_iso_path_matches_guest_os path inspect =
e76f14
         (6, 3, not_client)
e76f14
       else if pathelem "w10" || pathelem "win10" then
e76f14
         (10, 0, is_client)
e76f14
+      else if pathelem "2k16" || pathelem "win2016" then
e76f14
+        (10, 0, not_client)
e76f14
       else
e76f14
         raise Not_found in
e76f14
 
e76f14
-- 
7af31e
1.8.3.1
e76f14