|
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 13:15:16 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
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. Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |