|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] -rtc clock=vm with -icount 1, sleep=off introduces unexpected delays in device interactions |
Date: | Tue, 14 Mar 2017 17:52:34 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 14/03/2017 13:18, Pavel Dovgalyuk wrote: >> From: Paolo Bonzini [mailto:address@hidden >> On 14/03/2017 13:10, Pavel Dovgalyuk wrote: >>> This is not the same. >>> BQL helped in making execution deterministic - no io and timer >>> callbacks were performed while CPU is executing. >>> Now iothread and CPU thread work simultaneously and timers can't >>> query virtual time correctly, because (if we could query number of executed >>> instructions) it may have different values on different runs. >>> >>> I guess you'll have to bring kicking CPU back on iothread invocation >>> to make execution deterministic in icount mode. >> >> Timers are fixed by my patch. I/O should also work if its effects are >> only apparent at given QEMU_CLOCK_VIRTUAL values. > > Can you point me on that patch? I sent a pull request now, but it doesn't fix record/replay. https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg02621.html Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |