2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-28 04:48:16 +00:00
Andrew Vagin 88aaae3ace tests: move non-zdtm tests to tests/others/
Signed-off-by: Andrew Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-02-24 13:09:17 +03:00

29 lines
524 B
C

#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include "criu-plugin.h"
#include "criu-log.h"
extern cr_plugin_init_t cr_plugin_init;
extern cr_plugin_dump_ext_link_t cr_plugin_dump_ext_link;
int cr_plugin_init(void)
{
pr_info("Initialized macvlan dumper\n");
return 0;
}
int cr_plugin_dump_ext_link(int index, int type, char *kind)
{
if (strcmp(kind, "macvlan"))
return -ENOTSUP;
else {
pr_info("Dump %d macvlan\n", index);
return 0;
}
}