QMP, Introduce xen-set-global-dirty-log command.
[qemu.git] / hw / null-machine.c
blob69910d399ce550a1f3b6d0ef43d16e1db2b3340d
1 /*
2 * Empty machine
4 * Copyright IBM, Corp. 2012
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
14 #include "qemu-common.h"
15 #include "hw/hw.h"
16 #include "hw/boards.h"
18 static void machine_none_init(ram_addr_t ram_size,
19 const char *boot_device,
20 const char *kernel_filename,
21 const char *kernel_cmdline,
22 const char *initrd_filename,
23 const char *cpu_model)
27 static QEMUMachine machine_none = {
28 .name = "none",
29 .desc = "empty machine",
30 .init = machine_none_init,
31 .max_cpus = 0,
34 static void register_machines(void)
36 qemu_register_machine(&machine_none);
39 machine_init(register_machines);