• Stefan Weil's avatar
    qemu-timer: Remove function alarm_has_dynticks · 8205199d
    Stefan Weil authored
    Some time ago, the last time which did not have dynticks was removed,
    so now all timers have dynticks.
    
    I also removed a misleading error message for the dynticks timer.
    If timer_create fails, there is already an error message, and
    QEMU will use the unix timer which also provides dynamic ticks,
    therefore dynamic ticks are not disabled.
    
    v2:
    Remove two if statements because they were always true
    (thanks to Paolo Bonzini for this correction).
    Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    Signed-off-by: default avatarStefan Weil <sw@weilnetz.de>
    8205199d
qemu-timer.c 19.1 KB