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

e76f14
From f171a8a9df024c92e58d34c5b8aa6fed114f7cb4 Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Fri, 24 Apr 2015 09:45:41 -0400
ffd6ed
Subject: [PATCH] RHEL 7: Fix list of supported sound cards to match RHEL qemu
ffd6ed
 (RHBZ#1176493).
ffd6ed
ffd6ed
---
ffd6ed
 v2v/utils.ml | 5 +++--
ffd6ed
 1 file changed, 3 insertions(+), 2 deletions(-)
ffd6ed
ffd6ed
diff --git a/v2v/utils.ml b/v2v/utils.ml
e76f14
index d1ef7b0..898b8d4 100644
ffd6ed
--- a/v2v/utils.ml
ffd6ed
+++ b/v2v/utils.ml
e76f14
@@ -73,13 +73,14 @@ let kvm_arch = function
ffd6ed
 (* Does qemu support the given sound card? *)
ffd6ed
 let qemu_supports_sound_card = function
e76f14
   | Types.AC97
e76f14
-  | Types.ES1370
e76f14
   | Types.ICH6
e76f14
   | Types.ICH9
e76f14
   | Types.PCSpeaker
ffd6ed
+    -> true
e76f14
+  | Types.ES1370
e76f14
   | Types.SB16
e76f14
   | Types.USBAudio
ffd6ed
-    -> true
ffd6ed
+    -> false
ffd6ed
 
e76f14
 external ovmf_i386_firmware : unit -> (string * string) list = "v2v_utils_ovmf_i386_firmware"
e76f14
 external ovmf_x86_64_firmware : unit -> (string * string) list = "v2v_utils_ovmf_x86_64_firmware"
ffd6ed
-- 
7af31e
1.8.3.1
ffd6ed