mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

85dfdf
From ddb675e8152426850ad4fe27cc71cdd6b0f9d5c6 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
a034fe
index 74b501f81..21e9c9c15 100644
ffd6ed
--- a/v2v/utils.ml
ffd6ed
+++ b/v2v/utils.ml
97ae69
@@ -51,13 +51,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
 
90a56e
 (* Find the UEFI firmware. *)
90a56e
 let find_uefi_firmware guest_arch =
ffd6ed
-- 
a034fe
2.21.0
ffd6ed