From 10c339a07d42fcccbccd3f8a5e9c94ccb51fe3e4 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sat, 5 Dec 2009 12:44:26 +0100 Subject: Add support for S390x system emulation Let's enable the basics for system emulation so we can run virtual machines with KVM! Signed-off-by: Alexander Graf Signed-off-by: Aurelien Jarno --- target-s390x/machine.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 target-s390x/machine.c (limited to 'target-s390x/machine.c') diff --git a/target-s390x/machine.c b/target-s390x/machine.c new file mode 100644 index 0000000..3e79be6 --- /dev/null +++ b/target-s390x/machine.c @@ -0,0 +1,30 @@ +/* + * QEMU S390x machine definitions + * + * Copyright (c) 2009 Alexander Graf + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, see . + */ + +#include "hw/hw.h" +#include "hw/boards.h" + +void cpu_save(QEMUFile *f, void *opaque) +{ +} + +int cpu_load(QEMUFile *f, void *opaque, int version_id) +{ + return 0; +} -- cgit v1.1