| Updated: October 28, 2024 |
Create a guest system timer
#include <qvm/guest.h>
struct guest_timer* guest_timer_create(const struct guest_cpu *gcp,
const vdev_t *vdp,
const void *data,
uint64_t *resolutionp)
Call this function during startup to create a timer that can be used by guest_timer_notify().
If successful, a pointer to the new timer structure is returned; otherwise NULL is returned and an error code is placed in the location referenced by resolutionp.