virt-v2v/0005-RHEL-Fix-list-of-supported-sound-cards-to-match-RHEL.patch
Richard W.M. Jones 7c71720a7f Rebase to upstream 1.45.97.
resolves: rhbz#2011713
Fix -o rhv mode
resolves: rhbz#2027598
input: xen: Fix assertion error when importing from remote block device
resolves: rhbz#2041852
output: -o json: Allow -oo (output options) to work
resolves: rhbz#2041850
2022-01-18 21:35:54 +00:00

35 lines
834 B
Diff

From f3ade6efd92f4bb6bf8f00af9b7f70dc4a3125f5 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Fri, 24 Apr 2015 09:45:41 -0400
Subject: [PATCH] RHEL: Fix list of supported sound cards to match RHEL qemu
(RHBZ#1176493).
---
lib/utils.ml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/utils.ml b/lib/utils.ml
index 4c8998c2..7b16dd8b 100644
--- a/lib/utils.ml
+++ b/lib/utils.ml
@@ -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 =
--
2.31.1