Re: [PATCH 18/21] Remove host_alarm_timer hacks.

Avi Kivity
2009-04-30T09:44:14Z

Anthony Liguori wrote:
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> ---
> vl.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/vl.c b/vl.c
> index 3b0e3dc..848a8f8 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -1367,8 +1367,7 @@ static void host_alarm_handler(int host_signum)
> last_clock = ti;
> }
> #endif
> - if (1 ||
> - alarm_has_dynticks(alarm_timer) ||
> + if (alarm_has_dynticks(alarm_timer) ||
> (!use_icount &&
> qemu_timer_expired(active_timers[QEMU_TIMER_VIRTUAL],
> qemu_get_clock(vm_clock))) ||
>

This was added to fix a problem. Have you tested it?

--
error compiling committee.c: too many arguments to function