rpms/qemu/devel qemu-allow-pulseaudio-to-be-the-default.patch, NONE, 1.1 qemu.spec, 1.123, 1.124

Mark McLoughlin markmc at fedoraproject.org
Fri Sep 4 10:34:33 UTC 2009


Author: markmc

Update of /cvs/pkgs/rpms/qemu/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20629

Modified Files:
	qemu.spec 
Added Files:
	qemu-allow-pulseaudio-to-be-the-default.patch 
Log Message:
* Fri Sep  4 2009 Mark McLoughlin <markmc at redhat.com> - 2:0.10.91-0.9.rc1
- Make pulseaudio the default audio backend (#519540, #495964, #496627)


qemu-allow-pulseaudio-to-be-the-default.patch:
 paaudio.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

--- NEW FILE qemu-allow-pulseaudio-to-be-the-default.patch ---
>From 01c3198a8f0d933c9b219acaf087c675d729bbf7 Mon Sep 17 00:00:00 2001
From: Mark McLoughlin <markmc at redhat.com>
Date: Fri, 4 Sep 2009 11:24:03 +0100
Subject: [PATCH] Allow pulseaudio backend to be the default

We're seeing various issues with the SDL audio backend and want to
switch to the pulseaudio backend. See e.g.

  https://bugzilla.redhat.com/495964
  https://bugzilla.redhat.com/519540
  https://bugzilla.redhat.com/496627

The pulseaudio backend seems to work well, so we should allow it to be
selected as the default.

Signed-off-by: Mark McLoughlin <markmc at redhat.com>
Fedora-patch: qemu-allow-pulseaudio-to-be-the-default.patch
---
 audio/paaudio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/audio/paaudio.c b/audio/paaudio.c
index a50fccc..547e252 100644
--- a/audio/paaudio.c
+++ b/audio/paaudio.c
@@ -507,7 +507,7 @@ struct audio_driver pa_audio_driver = {
     INIT_FIELD (init           = ) qpa_audio_init,
     INIT_FIELD (fini           = ) qpa_audio_fini,
     INIT_FIELD (pcm_ops        = ) &qpa_pcm_ops,
-    INIT_FIELD (can_be_default = ) 0,
+    INIT_FIELD (can_be_default = ) 1,
     INIT_FIELD (max_voices_out = ) INT_MAX,
     INIT_FIELD (max_voices_in  = ) INT_MAX,
     INIT_FIELD (voice_size_out = ) sizeof (PAVoiceOut),
-- 
1.6.2.5



Index: qemu.spec
===================================================================
RCS file: /cvs/pkgs/rpms/qemu/devel/qemu.spec,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -p -r1.123 -r1.124
--- qemu.spec	20 Aug 2009 12:57:48 -0000	1.123
+++ qemu.spec	4 Sep 2009 10:34:32 -0000	1.124
@@ -4,7 +4,7 @@
 Summary: QEMU is a FAST! processor emulator
 Name: qemu
 Version: 0.10.91
-Release: 0.8.%{kvmvertag}%{?dist}
+Release: 0.9.%{kvmvertag}%{?dist}
 # Epoch because we pushed a qemu-1.0 package
 Epoch: 2
 License: GPLv2+ and LGPLv2+ and BSD
@@ -34,19 +34,12 @@ Patch05: qemu-fix-extboot-signrom.patch
 # Fix virtio_net with -net user (bug #516022)
 Patch06: qemu-fix-vnet-hdr-slirp-bustage.patch
 
-# Fix segfault when qemu-kvm is invoked inside a VM (where HVM is not
-# available).  RHBZ#516543
-#
-# Regression was introduced by this commit:
-# http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=b8083e930efc1ee85a7ad7e700dbd0f52ebb32dd
-#
-# Upstream discussion:
-# http://www.mail-archive.com/kvm@vger.kernel.org/msg19890.html
-#
-# Note: NOT UPSTREAM and this is something of a hack.  Upstream are
-# still debating how they really want to fix this.
+# Fix segfault when qemu-kvm is invoked inside a VM (bug #516543)
 Patch07: qemu-fix-no-kvm-segfault.patch
 
+# Allow the pulseudio backend to be the default
+Patch08: qemu-allow-pulseaudio-to-be-the-default.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: SDL-devel zlib-devel which texi2html gnutls-devel cyrus-sasl-devel
 BuildRequires: rsync dev86 iasl
@@ -234,6 +227,7 @@ such as kvmtrace and kvm_stat.
 %patch05 -p1
 %patch06 -p1
 %patch07 -p1
+%patch08 -p1
 
 %build
 # systems like rhel build system does not have a recent enough linker so
@@ -498,6 +492,9 @@ getent passwd qemu >/dev/null || \
 %{_mandir}/man1/qemu-img.1*
 
 %changelog
+* Fri Sep  4 2009 Mark McLoughlin <markmc at redhat.com> - 2:0.10.91-0.9.rc1
+- Make pulseaudio the default audio backend (#519540, #495964, #496627)
+
 * Thu Aug 20 2009 Richard W.M. Jones <rjones at redhat.com> - 2:0.10.91-0.8.rc1
 - Fix segfault when qemu-kvm is invoked inside a VM (#516543)
 




More information about the fedora-extras-commits mailing list