]> git.proxmox.com Git - qemu.git/commit - qemu-timer.c
qemu-timer: Remove function alarm_has_dynticks
authorStefan Weil <sw@weilnetz.de>
Fri, 20 Apr 2012 09:27:24 +0000 (11:27 +0200)
committerStefan Weil <sw@weilnetz.de>
Fri, 27 Apr 2012 05:39:39 +0000 (07:39 +0200)
commit8205199d7b4e7d1a9e57a83f2a5774187f2a2495
treeaf92b2fc49b9becbdf39e1ab12da6a4207aa6524
parent5e1ec7b267b214f3647d4248b4021ad0bafbb434
qemu-timer: Remove function alarm_has_dynticks

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: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
qemu-timer.c