2021-12-07 13:48:05 +00:00
|
|
|
From b12adf807a16e71764601f5912f98ead7839e25a Mon Sep 17 00:00:00 2001
|
2021-05-07 12:41:15 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Fri, 24 Apr 2015 09:45:41 -0400
|
2021-11-16 13:37:34 +00:00
|
|
|
Subject: [PATCH] RHEL: Fix list of supported sound cards to match RHEL qemu
|
|
|
|
(RHBZ#1176493).
|
2021-05-07 12:41:15 +00:00
|
|
|
|
|
|
|
---
|
2021-11-16 13:37:34 +00:00
|
|
|
lib/utils.ml | 5 +++--
|
2021-05-07 12:41:15 +00:00
|
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
|
2021-11-16 13:37:34 +00:00
|
|
|
diff --git a/lib/utils.ml b/lib/utils.ml
|
2021-12-03 17:34:43 +00:00
|
|
|
index c18a467c..d3e23662 100644
|
2021-11-16 13:37:34 +00:00
|
|
|
--- a/lib/utils.ml
|
|
|
|
+++ b/lib/utils.ml
|
2021-05-07 12:41:15 +00:00
|
|
|
@@ -59,13 +59,14 @@ let kvm_arch = function
|
|
|
|
(* Does qemu support the given sound card? *)
|
|
|
|
let qemu_supports_sound_card = function
|
|
|
|
| Types.AC97
|
|
|
|
- | Types.ES1370
|
|
|
|
| Types.ICH6
|
|
|
|
| Types.ICH9
|
|
|
|
| Types.PCSpeaker
|
|
|
|
+ -> true
|
|
|
|
+ | Types.ES1370
|
|
|
|
| Types.SB16
|
|
|
|
| Types.USBAudio
|
|
|
|
- -> true
|
|
|
|
+ -> false
|
|
|
|
|
|
|
|
(* Find the UEFI firmware. *)
|
|
|
|
let find_uefi_firmware guest_arch =
|
|
|
|
--
|
2021-12-02 10:46:00 +00:00
|
|
|
2.31.1
|
2021-05-07 12:41:15 +00:00
|
|
|
|