Skip to content
  • Alex Bennée's avatar
    cpus: call cpu_update_icount on read · 1d05906b
    Alex Bennée authored
    
    
    This ensures each time the vCPU thread reads the icount we update the
    master timer_state.qemu_icount field. This way as long as updates are
    in BQL protected sections (which they should be) the main-loop can
    never come to update the log and find time has gone backwards.
    
    Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
    1d05906b