guest_timer_state()

Get state information for a guest timer

Synopsis:

#include <qvm/guest.h>
void guest_timer_state(const struct guest_timer *vtp,
                       struct guest_timer_data *tdp)

Arguments:

vtp
A pointer to the guest timer for which you want the state information.
tdp
A pointer to the timer data structure where you want the state information placed (see guest_timer_data).

Description:

Before calling this function, you must have called guest_timer_create() during startup to create the timer.