From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo
Bonzini
On 10/12/2014 07:35, Pavel Dovgalyuk wrote:
No, it worked well and I deleted _nocache version of that function.
But I still need _raw one to get the instructions counter.
Oh, great. This patch can also go
On 11/12/2014 09:16, Pavel Dovgaluk wrote:
No, it worked well and I deleted _nocache version of that function.
But I still need _raw one to get the instructions counter.
Oh, great. This patch can also go in early.
What's the next? Will you upstream some of the patches to simplify
On 08/12/2014 08:53, Pavel Dovgalyuk wrote:
if (!cpu_can_do_io(cpu)) {
-fprintf(stderr, Bad clock read\n);
+fprintf(stderr, Bad icount read\n);
+exit(1);
}
icount -= (cpu-icount_decr.u16.low + cpu-icount_extra);
}
+
No, it worked well and I deleted _nocache version of that function.
But I still need _raw one to get the instructions counter.
Sent using CloudMagic
On вт, Дек 09, 2014 at 8:39 PM, Paolo Bonzini pbonz...@redhat.com wrote:
On 08/12/2014 08:53, Pavel Dovgalyuk wrote:
if (!cpu_can_do_io(cpu)) {
On 10/12/2014 07:35, Pavel Dovgalyuk wrote:
No, it worked well and I deleted _nocache version of that function.
But I still need _raw one to get the instructions counter.
Oh, great. This patch can also go in early.
Paolo
Replay uses number of executed instructions to determine corrent events
injection moments. This patch introduces new function for querying the
instructions counter.
Signed-off-by: Pavel Dovgalyuk pavel.dovga...@ispras.ru
---
cpus.c | 13 ++---
include/qemu/timer.h |1