]> git.proxmox.com Git - mirror_qemu.git/blob - hw/null-machine.c
Merge branch 'usb.64' of git://git.kraxel.org/qemu
[mirror_qemu.git] / hw / null-machine.c
1 /*
2 * Empty machine
3 *
4 * Copyright IBM, Corp. 2012
5 *
6 * Authors:
7 * Anthony Liguori <aliguori@us.ibm.com>
8 *
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.
11 *
12 */
13
14 #include "qemu-common.h"
15 #include "hw/hw.h"
16 #include "hw/boards.h"
17
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)
24 {
25 }
26
27 static QEMUMachine machine_none = {
28 .name = "none",
29 .desc = "empty machine",
30 .init = machine_none_init,
31 .max_cpus = 0,
32 };
33
34 static void register_machines(void)
35 {
36 qemu_register_machine(&machine_none);
37 }
38
39 machine_init(register_machines);
40