2024-10-04 12:42:19 +00:00
|
|
|
From abab56cf74a5005b33e962bb3d42db3d5b39e6d3 Mon Sep 17 00:00:00 2001
|
2021-11-03 22:31:07 +00:00
|
|
|
From: "Richard W.M. Jones" <rjones@redhat.com>
|
|
|
|
Date: Fri, 24 Apr 2015 09:45:41 -0400
|
2022-02-01 18:03:03 +00:00
|
|
|
Subject: [PATCH] RHEL: Fix list of supported sound cards to match RHEL qemu
|
|
|
|
(RHBZ#1176493).
|
2021-11-03 22:31:07 +00:00
|
|
|
|
|
|
|
---
|
2022-02-01 18:03:03 +00:00
|
|
|
lib/utils.ml | 5 +++--
|
2021-11-03 22:31:07 +00:00
|
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
|
2022-02-01 18:03:03 +00:00
|
|
|
diff --git a/lib/utils.ml b/lib/utils.ml
|
2024-10-04 12:42:19 +00:00
|
|
|
index bf010a0a..4c9b7415 100644
|
2022-02-01 18:03:03 +00:00
|
|
|
--- a/lib/utils.ml
|
|
|
|
+++ b/lib/utils.ml
|
2022-09-27 13:40:09 +00:00
|
|
|
@@ -60,13 +60,14 @@ let kvm_arch = function
|
2021-11-03 22:31:07 +00:00
|
|
|
(* 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 =
|