Revision 3329f07b qemu-config.c

b/qemu-config.c
5 5
#include "sysemu.h"
6 6
#include "hw/qdev.h"
7 7

  
8
QemuOptsList qemu_drive_opts = {
8
static QemuOptsList qemu_drive_opts = {
9 9
    .name = "drive",
10 10
    .head = QTAILQ_HEAD_INITIALIZER(qemu_drive_opts.head),
11 11
    .desc = {
......
84 84
    },
85 85
};
86 86

  
87
QemuOptsList qemu_chardev_opts = {
87
static QemuOptsList qemu_chardev_opts = {
88 88
    .name = "chardev",
89 89
    .implied_opt_name = "backend",
90 90
    .head = QTAILQ_HEAD_INITIALIZER(qemu_chardev_opts.head),
......
151 151
    },
152 152
};
153 153

  
154
#ifdef CONFIG_LINUX
155 154
QemuOptsList qemu_fsdev_opts = {
156 155
    .name = "fsdev",
157 156
    .implied_opt_name = "fstype",
......
170 169
        { /*End of list */ }
171 170
    },
172 171
};
173
#endif
174 172

  
175
#ifdef CONFIG_LINUX
176 173
QemuOptsList qemu_virtfs_opts = {
177 174
    .name = "virtfs",
178 175
    .implied_opt_name = "fstype",
......
195 192
        { /*End of list */ }
196 193
    },
197 194
};
198
#endif
199 195

  
200
QemuOptsList qemu_device_opts = {
196
static QemuOptsList qemu_device_opts = {
201 197
    .name = "device",
202 198
    .implied_opt_name = "driver",
203 199
    .head = QTAILQ_HEAD_INITIALIZER(qemu_device_opts.head),
......
211 207
    },
212 208
};
213 209

  
214
QemuOptsList qemu_netdev_opts = {
210
static QemuOptsList qemu_netdev_opts = {
215 211
    .name = "netdev",
216 212
    .implied_opt_name = "type",
217 213
    .head = QTAILQ_HEAD_INITIALIZER(qemu_netdev_opts.head),
......
224 220
    },
225 221
};
226 222

  
227
QemuOptsList qemu_net_opts = {
223
static QemuOptsList qemu_net_opts = {
228 224
    .name = "net",
229 225
    .implied_opt_name = "type",
230 226
    .head = QTAILQ_HEAD_INITIALIZER(qemu_net_opts.head),
......
237 233
    },
238 234
};
239 235

  
240
QemuOptsList qemu_rtc_opts = {
236
static QemuOptsList qemu_rtc_opts = {
241 237
    .name = "rtc",
242 238
    .head = QTAILQ_HEAD_INITIALIZER(qemu_rtc_opts.head),
243 239
    .desc = {
......
255 251
    },
256 252
};
257 253

  
258
QemuOptsList qemu_global_opts = {
254
static QemuOptsList qemu_global_opts = {
259 255
    .name = "global",
260 256
    .head = QTAILQ_HEAD_INITIALIZER(qemu_global_opts.head),
261 257
    .desc = {
......
273 269
    },
274 270
};
275 271

  
276
QemuOptsList qemu_mon_opts = {
272
static QemuOptsList qemu_mon_opts = {
277 273
    .name = "mon",
278 274
    .implied_opt_name = "chardev",
279 275
    .head = QTAILQ_HEAD_INITIALIZER(qemu_mon_opts.head),
......
292 288
    },
293 289
};
294 290

  
295
QemuOptsList qemu_cpudef_opts = {
291
static QemuOptsList qemu_cpudef_opts = {
296 292
    .name = "cpudef",
297 293
    .head = QTAILQ_HEAD_INITIALIZER(qemu_cpudef_opts.head),
298 294
    .desc = {

Also available in: Unified diff