summaryrefslogtreecommitdiffstats
path: root/src/vmspawn/vmspawn-settings.c
blob: 780df553aac3d99a3aba97981a93afde5deda008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: LGPL-2.1-or-later */

#include "string-table.h"
#include "vmspawn-settings.h"

static const char *const console_mode_table[_CONSOLE_MODE_MAX] = {
        [CONSOLE_INTERACTIVE] = "interactive",
        [CONSOLE_READ_ONLY]   = "read-only",
        [CONSOLE_NATIVE]      = "native",
        [CONSOLE_GUI]         = "gui",
};

DEFINE_STRING_TABLE_LOOKUP(console_mode, ConsoleMode);