• Paolo Bonzini's avatar
    exec: drop cpu_can_do_io, just read cpu->can_do_io · 414b15c9
    Paolo Bonzini authored
    After commit 626cf8f4 (icount: set can_do_io outside TB execution,
    2014-12-08), can_do_io is set to 1 if not executing code.  It is
    no longer necessary to make this assumption in cpu_can_do_io.
    It is also possible to remove the use_icount test, simply by
    never setting cpu->can_do_io to 0 unless use_icount is true.
    With these changes cpu_can_do_io boils down to a read of
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
softmmu_template.h 21.5 KB