From: Avi Kivity <avi@redhat.com>
To: Jimmy Crossley <jcrossley@CoNetrix.com>
Cc: "kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: SOLVED: RE: Garbled audio - Windows 7 64 bit guest on Debian
Date: Tue, 19 Jun 2012 12:21:03 +0300 [thread overview]
Message-ID: <4FE0447F.9030206@redhat.com> (raw)
In-Reply-To: <477D878A06EA6742AA4384840FAF721E6418485A88@Exchserver2.internal.compu-share.com>
On 06/18/2012 10:32 PM, Jimmy Crossley wrote:
>
> I have mostly solved this issue. The sound works much, much, better, but is still not as good as on my host machine.
>
> I installed PulseAudio and used it instead of ALSA. In order to get kvm to use it, I set the environment variable QEMU_AUDIO_DRV=pa. I had been using sudo to start the VM, and that kept this environment variable from being used. I did a "sudo setcap cap_net_admin+ep /usr/bin/kvm" in order to be able to run kvm under a normal user account. Now the sound works quite well.
>
That is good to hear. But you are giving up on a lot of security if
you're running kvm as root (or with CAP_NET_ADMIN). qemu supports
setting up the network externally and running with no special privileges.
Of course, it may not matter for your use case.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2012-06-19 9:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-18 19:32 SOLVED: RE: Garbled audio - Windows 7 64 bit guest on Debian Jimmy Crossley
2012-06-19 9:21 ` Avi Kivity [this message]
2012-06-19 13:46 ` Jimmy Crossley
2012-11-29 7:23 ` razamatan
2012-12-06 8:38 ` Simon O'Riordan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FE0447F.9030206@redhat.com \
--to=avi@redhat.com \
--cc=jcrossley@CoNetrix.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).