[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() as
From: |
Hans de Goede |
Subject: |
Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting |
Date: |
Mon, 08 Oct 2012 22:10:49 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
Hi,
On 10/08/2012 06:11 PM, Johannes Stezenbach wrote:
<mega snip>
> I also wonder if this is not a generic problem
for all emulated hw if the driver uses some timeout?
Yes it likely is, because the emulated timer interrupt will
try to make up for time lost when the vm was not running
(in either hypervisor or guest mode), while as hw emulation
code which has been pre-empted for what ever reason my
simply need some more actual running time before it can
complete the task as hand, at which point the timeout
will trigger sooner then the hw emulation can handle the
task ...
Note that with the EHCI emulation we also can have the
2 (guest and hw-emulation time) get out of sync in the
other way. When we got behind in processing frames
on the periodic schedule compared to "real-time" we would
catch up too fast, causing the guest to see large
jumps in the frindex register, which it does not like.
So all of this really is a precarious balancing act, and
to get back to the subject of the thread, the latency
spikes some of the kernels debugging options can cause,
can upset the balance...
Regards,
Hans
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/10/02
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Johannes Stezenbach, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Johannes Stezenbach, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Johannes Stezenbach, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting,
Hans de Goede <=
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Hans de Goede, 2012/10/08
- Re: [Qemu-devel] EHCI USB regression in 1.2.0 - ehci_state_fetchqtd() asserting, Shawn Starr, 2012/10/08