Commit e6548c2a authored by Pavel Emelyanov's avatar Pavel Emelyanov

epoll: Deprecate separate image for TFDs

TFD entry has been merged into epoll entry in 1.4.
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent f4577a00
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
#include <sys/epoll.h> #include <sys/epoll.h>
#include "crtools.h"
#include "compiler.h" #include "compiler.h"
#include "asm/types.h" #include "asm/types.h"
#include "imgset.h" #include "imgset.h"
...@@ -198,6 +199,9 @@ static int collect_one_epoll_tfd(void *o, ProtobufCMessage *msg, struct cr_img * ...@@ -198,6 +199,9 @@ static int collect_one_epoll_tfd(void *o, ProtobufCMessage *msg, struct cr_img *
{ {
struct eventpoll_tfd_file_info *info = o; struct eventpoll_tfd_file_info *info = o;
if (!deprecated_ok("Epoll TFD image"))
return -1;
info->tdefe = pb_msg(msg, EventpollTfdEntry); info->tdefe = pb_msg(msg, EventpollTfdEntry);
list_add(&info->list, &eventpoll_tfds); list_add(&info->list, &eventpoll_tfds);
pr_info_eventpoll_tfd("Collected ", info->tdefe); pr_info_eventpoll_tfd("Collected ", info->tdefe);
......
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