mirror of
https://github.com/qemu/qemu.git
synced 2024-11-29 06:43:37 +08:00
18c86e2b9d
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1453832250-766-37-git-send-email-peter.maydell@linaro.org
31 lines
600 B
C
31 lines
600 B
C
/*
|
|
* Empty machine
|
|
*
|
|
* Copyright IBM, Corp. 2012
|
|
*
|
|
* Authors:
|
|
* Anthony Liguori <aliguori@us.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "qemu-common.h"
|
|
#include "hw/hw.h"
|
|
#include "hw/boards.h"
|
|
|
|
static void machine_none_init(MachineState *machine)
|
|
{
|
|
}
|
|
|
|
static void machine_none_machine_init(MachineClass *mc)
|
|
{
|
|
mc->desc = "empty machine";
|
|
mc->init = machine_none_init;
|
|
mc->max_cpus = 0;
|
|
}
|
|
|
|
DEFINE_MACHINE("none", machine_none_machine_init)
|