Revision b5ec5ce0 qemu-config.c

b/qemu-config.c
242 242
    },
243 243
};
244 244

  
245
QemuOptsList qemu_cpudef_opts = {
246
    .name = "cpudef",
247
    .head = QTAILQ_HEAD_INITIALIZER(qemu_cpudef_opts.head),
248
    .desc = {
249
        {
250
            .name = "name",
251
            .type = QEMU_OPT_STRING,
252
        },{
253
            .name = "level",
254
            .type = QEMU_OPT_NUMBER,
255
        },{
256
            .name = "vendor",
257
            .type = QEMU_OPT_STRING,
258
        },{
259
            .name = "family",
260
            .type = QEMU_OPT_NUMBER,
261
        },{
262
            .name = "model",
263
            .type = QEMU_OPT_NUMBER,
264
        },{
265
            .name = "stepping",
266
            .type = QEMU_OPT_NUMBER,
267
        },{
268
            .name = "feature_edx",      /* cpuid 0000_0001.edx */
269
            .type = QEMU_OPT_STRING,
270
        },{
271
            .name = "feature_ecx",      /* cpuid 0000_0001.ecx */
272
            .type = QEMU_OPT_STRING,
273
        },{
274
            .name = "extfeature_edx",   /* cpuid 8000_0001.edx */
275
            .type = QEMU_OPT_STRING,
276
        },{
277
            .name = "extfeature_ecx",   /* cpuid 8000_0001.ecx */
278
            .type = QEMU_OPT_STRING,
279
        },{
280
            .name = "xlevel",
281
            .type = QEMU_OPT_NUMBER,
282
        },{
283
            .name = "model_id",
284
            .type = QEMU_OPT_STRING,
285
        },{
286
            .name = "vendor_override",
287
            .type = QEMU_OPT_NUMBER,
288
        },
289
        { /* end of list */ }
290
    },
291
};
292

  
245 293
static QemuOptsList *lists[] = {
246 294
    &qemu_drive_opts,
247 295
    &qemu_chardev_opts,
......
251 299
    &qemu_rtc_opts,
252 300
    &qemu_global_opts,
253 301
    &qemu_mon_opts,
302
    &qemu_cpudef_opts,
254 303
    NULL,
255 304
};
256 305

  

Also available in: Unified diff