pc: Require xen when initializing xenfv machine
[qemu/cris-port.git] / hw / core / null-machine.c
blobf36fbf231804310d64de1e3d55162c6fc0d948e7
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(MachineState *machine)
22 static void machine_none_machine_init(MachineClass *mc)
24 mc->desc = "empty machine";
25 mc->init = machine_none_init;
26 mc->max_cpus = 0;
29 DEFINE_MACHINE("none", machine_none_machine_init)