mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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