Guest Scheduler Operations

group guest_scheduler_operations

The SCHEDOP interface provides mechanisms for a guest to interact with the scheduler, including yield, blocking and shutting itself down.

Defines

SCHEDOP_yield 0
SCHEDOP_block 1
SCHEDOP_shutdown 2
SCHEDOP_poll 3
SCHEDOP_remote_shutdown 4
SCHEDOP_shutdown_code 5
SCHEDOP_watchdog 6
SCHEDOP_pin_override 7
SHUTDOWN_poweroff 0 /* Domain exited normally. Clean up and kill. */
SHUTDOWN_reboot 1 /* Clean up, kill, and then restart. */
SHUTDOWN_suspend 2 /* Clean up, save suspend info, kill. */
SHUTDOWN_crash 3 /* Tell controller we’ve crashed. */
SHUTDOWN_watchdog 4 /* Restart because watchdog time expired. */
SHUTDOWN_soft_reset 5
SHUTDOWN_MAX 5 /* Maximum valid shutdown reason. */

Typedefs

typedef struct sched_shutdown sched_shutdown_t
typedef struct sched_poll sched_poll_t
typedef struct sched_remote_shutdown sched_remote_shutdown_t
typedef struct sched_watchdog sched_watchdog_t
typedef struct sched_pin_override sched_pin_override_t
union __guest_handle_sched_shutdown_t
#include <sched.h>

Public Members

sched_shutdown_t* p
unsigned long q
union __guest_handle_64_sched_shutdown_t
#include <sched.h>

Public Members

sched_shutdown_t* p
uint64_t q
union __guest_handle_const_sched_shutdown_t
#include <sched.h>

Public Members

const sched_shutdown_t* p
unsigned long q
union __guest_handle_64_const_sched_shutdown_t
#include <sched.h>

Public Members

const sched_shutdown_t* p
uint64_t q
union __guest_handle_sched_poll_t
#include <sched.h>

Public Members

sched_poll_t* p
unsigned long q
union __guest_handle_64_sched_poll_t
#include <sched.h>

Public Members

sched_poll_t* p
uint64_t q
union __guest_handle_const_sched_poll_t
#include <sched.h>

Public Members

const sched_poll_t* p
unsigned long q
union __guest_handle_64_const_sched_poll_t
#include <sched.h>

Public Members

const sched_poll_t* p
uint64_t q
union __guest_handle_sched_remote_shutdown_t
#include <sched.h>

Public Members

sched_remote_shutdown_t* p
unsigned long q
union __guest_handle_64_sched_remote_shutdown_t
#include <sched.h>

Public Members

sched_remote_shutdown_t* p
uint64_t q
union __guest_handle_const_sched_remote_shutdown_t
#include <sched.h>

Public Members

const sched_remote_shutdown_t* p
unsigned long q
union __guest_handle_64_const_sched_remote_shutdown_t
#include <sched.h>

Public Members

const sched_remote_shutdown_t* p
uint64_t q
union __guest_handle_sched_watchdog_t
#include <sched.h>

Public Members

sched_watchdog_t* p
unsigned long q
union __guest_handle_64_sched_watchdog_t
#include <sched.h>

Public Members

sched_watchdog_t* p
uint64_t q
union __guest_handle_const_sched_watchdog_t
#include <sched.h>

Public Members

const sched_watchdog_t* p
unsigned long q
union __guest_handle_64_const_sched_watchdog_t
#include <sched.h>

Public Members

const sched_watchdog_t* p
uint64_t q
union __guest_handle_sched_pin_override_t
#include <sched.h>

Public Members

sched_pin_override_t* p
unsigned long q
union __guest_handle_64_sched_pin_override_t
#include <sched.h>

Public Members

sched_pin_override_t* p
uint64_t q
union __guest_handle_const_sched_pin_override_t
#include <sched.h>

Public Members

const sched_pin_override_t* p
unsigned long q
union __guest_handle_64_const_sched_pin_override_t
#include <sched.h>

Public Members

const sched_pin_override_t* p
uint64_t q