All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: "François Revol" <revol@free.fr>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: [Try2][PATCH] Initial implementation of a mpeg1 layer2 streaming audio driver.
Date: Tue, 16 Nov 2010 13:33:31 -0600	[thread overview]
Message-ID: <4CE2DC8B.7020401@codemonkey.ws> (raw)
In-Reply-To: <8F14B0BD-6839-4060-A7F4-A1DECEAA04C2@web.de>

On 11/16/2010 01:22 PM, Andreas Färber wrote:
> Am 15.11.2010 um 22:53 schrieb François Revol:
>
>> I'm still having a hard time getting sound to work reliably in Haiku 
>> guests regardless the output or emulated card. OTH it works perfectly 
>> in VirtualBox with almost no cpu overhead. If anyone has a clue...
>> It might be related to the use of RDTSC as primary time source, still 
>> it's the same in vbox.
>
> Did you check the time drift command line options? Iirc Gleb needed 
> some hacks for timer-related issues on Windows.

Time drift correction is only applicable to the RTC and PIT and deals 
with catching up the periodic timers.

The issue with the TSC as a time source is that it skips around during 
CPU migration.  The easiest way to work around this is to simply pin 
your guest to a single physical CPU (assuming you're using KVM).

With TCG, it depends, but you can actually end up accessing the host TSC 
in which case, your SOL because the code in QEMU that uses the host TSC 
assumes a UP host which aren't all that common anymore :-)

Regards,

Anthony Liguori

>> (does [KVM] even work on OSX ?)
>
> No.
>
> Andreas

  reply	other threads:[~2010-11-16 19:33 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-07 23:08 [Qemu-devel] [Try2][PATCH] Initial implementation of a mpeg1 layer2 streaming audio driver François Revol
     [not found] ` <alpine.LNX.2.00.1011080255490.2663@linmac>
2010-11-08  0:11   ` [Qemu-devel] " François Revol
2010-11-08  3:57     ` malc
2010-11-08  6:15       ` François Revol
2010-11-12 14:32         ` Anthony Liguori
2010-11-12 16:54           ` François Revol
2010-11-15 19:30             ` Anthony Liguori
2010-11-15 21:53               ` François Revol
2010-11-16 19:22                 ` Andreas Färber
2010-11-16 19:33                   ` Anthony Liguori [this message]
2010-11-16 20:10                     ` François Revol

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=4CE2DC8B.7020401@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=andreas.faerber@web.de \
    --cc=qemu-devel@nongnu.org \
    --cc=revol@free.fr \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.