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 state information.
tdp
A pointer to the timer data structure for storing the state information (see guest_timer_data).

Description:

The guest_timer_state() function retrieves the state information, which consists of the current counter values, for the specified guest timer. Before calling this function, you must have called guest_timer_create() during startup.

Page updated: