Commit 5c93ba3b authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

timerfd: Add protobuf entries into the image

Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent f2549c22
......@@ -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),
......
......@@ -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",
......
......@@ -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,
......
......@@ -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
......
......@@ -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,
......
......@@ -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];
......
......@@ -16,6 +16,7 @@ enum fd_types {
NS = 14;
TUN = 15;
EXT = 16;
TIMERFD = 17;
}
message fdinfo_entry {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment