guest_power_state_callback_func_t

Power state callback function type

Synopsis:

#include <qvm/guest.h>
typedef void guest_power_state_callback_func_t(void *data,
                                               uint64_t curr,
                                               unsigned base);

Arguments:

data
A pointer to user data to pass to the callback function.
curr
The current power state.
base
The base power state.

Library:

Provided by qvm; no external library is required.