mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
e561951d84
We have been adding new .x files without keeping the list of *-structs files up-to-date. This adds the support for the recent additions. In the process of testing this, I also noticed that Fedora 19's use of dwarves-1.10 (providing pdwtags version 1.9) was producing a single line on stderr but still giving enough useful info on stdout that we could check structs; the real goal of checking stderr separately from stdout was to avoid the bug in dwarves-1.9 where stdout was empty (see bug http://bugzilla.redhat.com/772358). * src/Makefile.am (struct_prefix, PROTOCOL_STRUCTS): Add missing struct tests. (PDWTAGS): Work with Fedora 19 pdwtags. (lxc_monitor_protocol-struct, lock_protocol-struct): New rules. * src/lxc_monitor_protocol-structs: New file. * src/lock_protocol-structs): Likewise. * cfg.mk (generated_files): Enlarge list. Signed-off-by: Eric Blake <eblake@redhat.com>
17 lines
483 B
C
17 lines
483 B
C
/* -*- 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 {
|
|
enum virLXCMonitorExitStatus status;
|
|
};
|
|
struct virLXCMonitorInitEventMsg {
|
|
uint64_t initpid;
|
|
};
|
|
enum virLXCMonitorProcedure {
|
|
VIR_LXC_MONITOR_PROC_EXIT_EVENT = 1,
|
|
VIR_LXC_MONITOR_PROC_INIT_EVENT = 2,
|
|
};
|