mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0016-RHEL-7-Fix-list-of-supported-sound-cards-to-match-RH.patch

e9bfca
From a0219caff90b669ad9bc8f6fe8d043b3b44725e8 Mon Sep 17 00:00:00 2001
151578
From: "Richard W.M. Jones" <rjones@redhat.com>
151578
Date: Fri, 24 Apr 2015 09:45:41 -0400
151578
Subject: [PATCH] RHEL 7: Fix list of supported sound cards to match RHEL qemu
151578
 (RHBZ#1176493).
151578
151578
---
151578
 v2v/utils.ml | 5 +++--
151578
 1 file changed, 3 insertions(+), 2 deletions(-)
151578
151578
diff --git a/v2v/utils.ml b/v2v/utils.ml
e9bfca
index e880001eb..812d339e0 100644
151578
--- a/v2v/utils.ml
151578
+++ b/v2v/utils.ml
e9bfca
@@ -51,13 +51,14 @@ let kvm_arch = function
151578
 (* Does qemu support the given sound card? *)
151578
 let qemu_supports_sound_card = function
151578
   | Types.AC97
151578
-  | Types.ES1370
151578
   | Types.ICH6
151578
   | Types.ICH9
151578
   | Types.PCSpeaker
151578
+    -> true
151578
+  | Types.ES1370
151578
   | Types.SB16
151578
   | Types.USBAudio
151578
-    -> true
151578
+    -> false
151578
 
151578
 (* Find the UEFI firmware. *)
151578
 let find_uefi_firmware guest_arch =
151578
-- 
3d5c2a
2.17.2
151578