mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

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

ffd6ed
From f23ccf473ea990ddba3d48730b68f23efc1f712c Mon Sep 17 00:00:00 2001
ffd6ed
From: "Richard W.M. Jones" <rjones@redhat.com>
ffd6ed
Date: Fri, 24 Apr 2015 09:45:41 -0400
ffd6ed
Subject: [PATCH] RHEL 7: Fix list of supported sound cards to match RHEL qemu
ffd6ed
 (RHBZ#1176493).
ffd6ed
ffd6ed
---
ffd6ed
 v2v/utils.ml | 5 +++--
ffd6ed
 1 file changed, 3 insertions(+), 2 deletions(-)
ffd6ed
ffd6ed
diff --git a/v2v/utils.ml b/v2v/utils.ml
ffd6ed
index 26a3976..477033d 100644
ffd6ed
--- a/v2v/utils.ml
ffd6ed
+++ b/v2v/utils.ml
ffd6ed
@@ -75,13 +75,14 @@ let kvm_arch = function
ffd6ed
 (* Does qemu support the given sound card? *)
ffd6ed
 let qemu_supports_sound_card = function
ffd6ed
   | AC97
ffd6ed
-  | ES1370
ffd6ed
   | ICH6
ffd6ed
   | ICH9
ffd6ed
   | PCSpeaker
ffd6ed
+    -> true
ffd6ed
+  | ES1370
ffd6ed
   | SB16
ffd6ed
   | USBAudio
ffd6ed
-    -> true
ffd6ed
+    -> false
ffd6ed
 
ffd6ed
 let compare_app2_versions app1 app2 =
ffd6ed
   let i = compare app1.Guestfs.app2_epoch app2.Guestfs.app2_epoch in
ffd6ed
-- 
ffd6ed
1.8.3.1
ffd6ed