guest_power_state_callback_func_t

Function prototype for power state callback

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.