summaryrefslogtreecommitdiffstats
path: root/hw/core
diff options
context:
space:
mode:
authorPaolo Bonzini2020-10-28 13:04:08 +0100
committerPaolo Bonzini2020-12-15 18:51:50 +0100
commitc5e3c9182d0cc312196aa5e1de305e9ab5a7cda3 (patch)
tree2b761f5adf53d6b53e351bf5e83ab182818dfa24 /hw/core
parentvl: extract softmmu/runstate.c (diff)
downloadqemu-c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3.tar.gz
qemu-c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3.tar.xz
qemu-c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3.zip
vl: extract softmmu/globals.c
Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core')
-rw-r--r--hw/core/machine.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/core/machine.c b/hw/core/machine.c
index d7f8fdee45..26cfd87b5c 100644
--- a/hw/core/machine.c
+++ b/hw/core/machine.c
@@ -216,6 +216,8 @@ GlobalProperty hw_compat_2_1[] = {
};
const size_t hw_compat_2_1_len = G_N_ELEMENTS(hw_compat_2_1);
+MachineState *current_machine;
+
static char *machine_get_kernel(Object *obj, Error **errp)
{
MachineState *ms = MACHINE(obj);