timerfd: Add protobuf entries into the image

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Cyrill Gorcunov 2014-06-30 21:58:04 +04:00 committed by Pavel Emelyanov
parent f2549c2207
commit 5c93ba3b7b
7 changed files with 9 additions and 2 deletions

View file

@ -304,6 +304,7 @@ static struct show_image_info show_infos[] = {
SHOW_PLAIN(EVENTPOLL_FILE),
SHOW_PLAIN(EVENTPOLL_TFD),
SHOW_PLAIN(SIGNALFD),
SHOW_PLAIN(TIMERFD),
SHOW_PLAIN(INOTIFY_FILE),
SHOW_PLAIN(INOTIFY_WD),
SHOW_PLAIN(FANOTIFY_FILE),

View file

@ -78,6 +78,7 @@ struct cr_fd_desc_tmpl fdset_template[CR_FD_MAX] = {
FD_ENTRY(PSIGNAL, "signal-p-%d"),
FD_ENTRY(TUNFILE, "tunfile"),
FD_ENTRY(CGROUP, "cgroup"),
FD_ENTRY(TIMERFD, "timerfd"),
[CR_FD_STATS] = {
.fmt = "stats-%s",

View file

@ -75,6 +75,7 @@ enum {
CR_FD_FANOTIFY_MARK,
CR_FD_TUNFILE,
CR_FD_CGROUP,
CR_FD_TIMERFD,
_CR_FD_GLOB_TO,
CR_FD_TMPFS_IMG,

View file

@ -73,6 +73,7 @@
#define NS_FILES_MAGIC 0x61394011 /* Nyandoma */
#define TUNFILE_MAGIC 0x57143751 /* Kalyazin */
#define CGROUP_MAGIC 0x59383330 /* Tikhvin */
#define TIMERFD_MAGIC 0x50493712 /* Korocha */
#define IFADDR_MAGIC RAW_IMAGE_MAGIC
#define ROUTE_MAGIC RAW_IMAGE_MAGIC

View file

@ -51,6 +51,7 @@ enum {
PB_TUNFILE,
PB_IRMAP_CACHE,
PB_CGROUP,
PB_TIMERFD,
/* PB_AUTOGEN_STOP */
@ -58,9 +59,9 @@ enum {
PB_IDS,
PB_SIGACT,
PB_NETDEV,
PB_REMAP_FPATH,
PB_REMAP_FPATH, /* 50 */
PB_SK_QUEUES,
PB_IPCNS_MSG, /* 50 */
PB_IPCNS_MSG,
PB_IPCNS_MSG_ENT,
PB_MAX,

View file

@ -58,6 +58,7 @@
#include "protobuf/vma.pb-c.h"
#include "protobuf/tun.pb-c.h"
#include "protobuf/cgroup.pb-c.h"
#include "protobuf/timerfd.pb-c.h"
struct cr_pb_message_desc cr_pb_descs[PB_MAX];

View file

@ -16,6 +16,7 @@ enum fd_types {
NS = 14;
TUN = 15;
EXT = 16;
TIMERFD = 17;
}
message fdinfo_entry {