Blame SOURCES/0012-RHEL-Fix-list-of-supported-sound-cards-to-match-RHEL.patch

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