File: vzctl_param.h

package info (click to toggle)
vzctl 3.0.30.2-4
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,056 kB
  • sloc: ansic: 17,282; sh: 14,549; makefile: 528
file content (143 lines) | stat: -rw-r--r-- 3,959 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
/*
 *  Copyright (C) 2000-2009, Parallels, Inc. All rights reserved.
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */
#ifndef _VZCTL_PARAM_H_
#define _VZCTL_PARAM_H_

#define PARAM_IGNORED		-1
/*	UB	*/
#define PARAM_KMEMSIZE		'k'
#define PARAM_LOCKEDPAGES	'l'
#define PARAM_PRIVVMPAGES	1
#define PARAM_SHMPAGES		2
#define PARAM_NUMPROC		'p'
#define PARAM_PHYSPAGES		3
#define PARAM_VMGUARPAGES	4
#define PARAM_OOMGUARPAGES	5
#define PARAM_NUMTCPSOCK	6
#define PARAM_NUMFLOCK		'f'
#define PARAM_NUMPTY		't'
#define PARAM_NUMSIGINFO	'i'
#define PARAM_TCPSNDBUF		7
#define PARAM_TCPRCVBUF		'b'
#define PARAM_OTHERSOCKBUF	8
#define PARAM_DGRAMRCVBUF	9
#define PARAM_NUMOTHERSOCK	10
#define PARAM_NUMIPTENT		'e'
#define PARAM_NUMFILE		'n'
#define PARAM_DCACHESIZE	'x'

#define PARAM_OSTEMPLATE	13

#define PARAM_CPUWEIGHT		14
#define PARAM_CPULIMIT		15
#define PARAM_CPUUNITS		16
#define PARAM_VCPUS		17
#define PARAM_CPUMASK		171

#define PARAM_IP_ADD		18
#define PARAM_IP_DEL		19
#define PARAM_HOSTNAME		20
#define PARAM_SEARCHDOMAIN	22
#define PARAM_NAMESERVER	23
#define PARAM_USERPW		24
#define PARAM_TEMPLATE		25
#define PARAM_IP		28
#define PARAM_BASH		30
#define PARAM_SAVE		31
#define PARAM_ROOT		32
#define PARAM_PRIVATE		33
#define PARAM_ONBOOT		34
#define PARAM_IPHOST		35

#define PARAM_DISKSPACE		36
#define PARAM_DISKINODES	37
#define PARAM_QUOTATIME		38
#define PARAM_QUOTAUGIDLIMIT	39
#define PARAM_DISK_QUOTA	40

#define PARAM_NOATIME		43
#define PARAM_SAFE		44
#define PARAM_CAP		45
#define PARAM_CONFIG		47
#define PARAM_SHARED		48
#define PARAM_CFGVER		50
#define PARAM_DEVICES		51
#define PARAM_AVNUMPROC		52
#define PARAM_TEMPLATES		93
#define PARAM_DEVNODES		94
#define	PARAM_SKIPQUOTACHECK	95
#define PARAM_MEMINFO		97

#define PARAM_FAST		310
#define PARAM_APPLYCONFIG	311
#define PARAM_IPTABLES		316
#define PARAM_NETDEV_ADD	317
#define PARAM_NETDEV_DEL	318
#define PARAM_DISABLED		319
#define	PARAM_FORCE		320
#define PARAM_SKIP_VE_SETUP	321
#define PARAM_CONFIG_SAMPLE	322
#define PARAM_CONFIG_CUSTOMIZE	323
#define PARAM_SETMODE		324

#define PARAM_LOGFILE		325
#define	PARAM_LOGGING		326
#define	PARAM_LOGLEVEL		327
#define	PARAM_DEF_OSTEMPLATE	328
#define	PARAM_LOCKDIR		329

#define PARAM_DUMPFILE		330
#define PARAM_CPTCONTEXT	331
#define PARAM_CPU_FLAGS		332
#define PARAM_KILL		333
#define PARAM_RESUME		334
#define PARAM_DUMP		335
#define PARAM_SUSPEND		336
#define PARAM_UNDUMP		337
#define PARAM_DUMPDIR		338
#define PARAM_SKIPARPDETECT	339
#define PARAM_RESET_UB		340
#define PARAM_VEID		343
#define PARAM_NAME		344
#define PARAM_APPLYCONFIG_MAP	345
#define PARAM_WAIT		346
#define PARAM_IPV6NET		347
#define PARAM_VETH_ADD		348

#define PARAM_FEATURES		350
#define PARAM_NETIF_ADD		351
#define PARAM_NETIF_ADD_CMD	352
#define PARAM_NETIF_DEL_CMD	353
#define PARAM_NETIF_MAC		354
#define PARAM_NETIF_IFNAME	355
#define PARAM_NETIF_HOST_MAC	356
#define PARAM_NETIF_HOST_IFNAME	357
#define PARAM_VERBOSE		358
#define PARAM_IOPRIO		359
#define PARAM_NETIF_MAC_FILTER	360
#define PARAM_NETIF_BRIDGE	361
#define PARAM_DESCRIPTION	362
#define PARAM_SWAPPAGES		363
#define PARAM_BOOTORDER		364
#define PARAM_PCI_ADD		365
#define PARAM_PCI_DEL		366
#define PARAM_RAM		367
#define PARAM_SWAP		368

#define PARAM_LINE		"e:p:f:t:i:l:k:a:b:n:x:h"
#endif