[Libguestfs] [PATCH] v2v: Add support for Win2016 virtio drivers

Tomáš Golembiovský tgolembi at redhat.com
Tue Jul 12 03:53:49 UTC 2016


Support virtio drivers for Windows Server 2016 once they are available.

Signed-off-by: Tomáš Golembiovský <tgolembi at redhat.com>
---
 v2v/windows_virtio.ml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/v2v/windows_virtio.ml b/v2v/windows_virtio.ml
index 354aa19..334e347 100644
--- a/v2v/windows_virtio.ml
+++ b/v2v/windows_virtio.ml
@@ -330,6 +330,8 @@ and virtio_iso_path_matches_guest_os path inspect =
         (6, 3, not_client)
       else if pathelem "w10" || pathelem "win10" then
         (10, 0, is_client)
+      else if pathelem "2k16" || pathelem "win2016" then
+        (10, 0, not_client)
       else
         raise Not_found in
 
-- 
2.9.0





More information about the Libguestfs mailing list