summaryrefslogtreecommitdiff
path: root/src/lxc_monitor_protocol-structs
blob: cb5c6878b488788564641b184a13e7477b1b5762 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* -*- c -*- */
enum virLXCMonitorExitStatus {
        VIR_LXC_MONITOR_EXIT_STATUS_ERROR = 0,
        VIR_LXC_MONITOR_EXIT_STATUS_SHUTDOWN = 1,
        VIR_LXC_MONITOR_EXIT_STATUS_REBOOT = 2,
};
struct virLXCMonitorExitEventMsg {
        virLXCMonitorExitStatus    status;
};
struct virLXCMonitorInitEventMsg {
        uint64_t                   initpid;
};
enum virLXCMonitorProcedure {
        VIR_LXC_MONITOR_PROC_EXIT_EVENT = 1,
        VIR_LXC_MONITOR_PROC_INIT_EVENT = 2,
};