mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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