mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

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