icount: implement a new icount_sleep mode toggleing real-time cpu sleep
authorVictor CLEMENT <victor.clement@openwide.fr>
Fri, 29 May 2015 15:14:04 +0000 (17:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jun 2015 15:10:00 +0000 (17:10 +0200)
commit5045e9d912588a7421ab899ba510025722666fd1
treeddbd5f145f3738a605a4d58f88a59ce5876af50f
parentec05ec26f940564b1e07bf88857035ec27e21dd8
icount: implement a new icount_sleep mode toggleing real-time cpu sleep

When the icount_sleep mode is disabled, the QEMU_VIRTUAL_CLOCK runs at the
maximum possible speed by warping the sleep times of the virtual cpu to the
soonest clock deadline. The virtual clock will be updated only according
the instruction counter.

Signed-off-by: Victor CLEMENT <victor.clement@openwide.fr>
Message-Id: <1432912446-9811-2-git-send-email-victor.clement@openwide.fr>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c