From 184f33f40a0eb41e37049a87b7c34f13c8247296 Mon Sep 17 00:00:00 2001
Message-Id: <184f33f40a0eb41e37049a87b7c34f13c8247296.1301178270.git.blauwirbel@gmail.com>
In-Reply-To: <1ae00000c153f56f45a62e9520a773bbfa3d185c.1301178269.git.blauwirbel@gmail.com>
References: <1ae00000c153f56f45a62e9520a773bbfa3d185c.1301178269.git.blauwirbel@gmail.com>
From: Blue Swirl <blauwirbel@gmail.com>
Date: Sat, 26 Mar 2011 21:41:11 +0000
Subject: [PATCH 4/4] Remove sysemu.h
Move the remainders of sysemu.h to qemu-common.h and qemu-timer.h,
adjust users.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
---
acl.c | 1 -
arch_init.c | 2 +-
arm-semi.c | 1 -
audio/winwaveaudio.c | 1 -
balloon.c | 1 -
block/vdi.c | 1 -
bt-host.c | 1 -
bt-vhci.c | 1 -
buffered_file.c | 1 -
cpus.c | 1 -
cpus.h | 4 ++++
device_tree.c | 1 -
hw/an5206.c | 1 -
hw/armv7m.c | 1 -
hw/axis_dev88.c | 1 -
hw/blizzard.c | 1 -
hw/bt-hci-csr.c | 1 -
hw/cris-boot.c | 1 -
hw/dummy_m68k.c | 1 -
hw/etraxfs.c | 1 -
hw/gumstix.c | 1 -
hw/ide/ich.c | 1 -
hw/ide/isa.c | 1 -
hw/ide/macio.c | 1 -
hw/ide/microdrive.c | 1 -
hw/ide/mmio.c | 1 -
hw/ide/pci.c | 1 -
hw/integratorcp.c | 1 -
hw/isa-bus.c | 1 -
hw/kvmclock.c | 1 -
hw/lan9118.c | 2 +-
hw/lm32_boards.c | 1 -
hw/mainstone.c | 1 -
hw/omap_sx1.c | 1 -
hw/pc.c | 1 -
hw/pci-stub.c | 1 -
hw/pcie.c | 2 +-
hw/petalogix_s3adsp1800_mmu.c | 1 -
hw/ppc440_bamboo.c | 1 -
hw/ppc4xx_devs.c | 1 -
hw/qxl.c | 1 -
hw/s390-virtio-bus.c | 1 -
hw/s390-virtio.c | 1 -
hw/stellaris.c | 1 -
hw/syborg.c | 1 -
hw/syborg_virtio.c | 1 -
hw/sysbus.c | 1 -
hw/tc58128.c | 1 -
hw/tosa.c | 1 -
hw/twl92230.c | 1 -
hw/usb-hid.c | 2 +-
hw/virtio-balloon.c | 1 -
hw/virtio.c | 1 -
hw/virtio.h | 1 -
hw/vmport.c | 1 -
hw/watchdog.c | 1 -
hw/xen_backend.h | 1 -
hw/xilinx_timer.c | 1 -
kvm-stub.c | 1 -
m68k-semi.c | 1 -
migration-exec.c | 1 -
migration-fd.c | 1 -
migration-tcp.c | 1 -
migration-unix.c | 1 -
monitor.c | 1 -
net.c | 1 -
net/dump.c | 2 +-
net/slirp.c | 1 -
net/tap-bsd.c | 1 -
net/tap-linux.c | 1 -
net/tap-solaris.c | 1 -
net/tap-win32.c | 1 -
net/tap.c | 1 -
net/vde.c | 1 -
os-posix.c | 1 -
os-win32.c | 1 -
osdep.c | 1 -
oslib-posix.c | 1 -
posix-aio-compat.c | 1 -
qemu-common.h | 14 ++++++++++++++
qemu-config.c | 1 -
qemu-error.c | 1 -
qemu-img.c | 1 -
qemu-timer.c | 1 -
qemu-timer.h | 4 ++++
qemu-tool.c | 1 -
savevm.c | 2 +-
sysemu.h | 35 -----------------------------------
target-ppc/kvm.c | 1 -
target-s390x/kvm.c | 1 -
ui/cocoa.m | 1 -
ui/keymaps.c | 1 -
ui/sdl.c | 1 -
ui/spice-display.c | 1 -
vl.c | 1 -
95 files changed, 28 insertions(+), 126 deletions(-)
delete mode 100644 sysemu.h
@@ -24,7 +24,6 @@
#include "qemu-common.h"
-#include "sysemu.h"
#include "acl.h"
#ifdef CONFIG_FNMATCH
@@ -30,7 +30,6 @@
#endif
#include "config.h"
#include "monitor.h"
-#include "sysemu.h"
#include "arch_init.h"
#include "audio/audio.h"
#include "hw/pc.h"
@@ -42,6 +41,7 @@
#include "gdbstub.h"
#include "hw/smbios.h"
#include "vm-state.h"
+#include "qemu-timer.h"
#ifdef TARGET_SPARC
int graphic_width = 1024;
@@ -33,7 +33,6 @@
#define ARM_ANGEL_HEAP_SIZE (128 * 1024 * 1024)
#else
#include "qemu-common.h"
-#include "sysemu.h"
#include "gdbstub.h"
#endif
@@ -1,7 +1,6 @@
/* public domain */
#include "qemu-common.h"
-#include "sysemu.h"
#include "audio.h"
#define AUDIO_CAP "winwave"
@@ -22,7 +22,6 @@
* THE SOFTWARE.
*/
-#include "sysemu.h"
#include "monitor.h"
#include "qjson.h"
#include "qint.h"
@@ -57,7 +57,6 @@
#include <uuid/uuid.h>
#else
/* TODO: move uuid emulation to some central place in QEMU. */
-#include "sysemu.h" /* UUID_FMT */
typedef unsigned char uuid_t[16];
void uuid_generate(uuid_t out);
int uuid_is_null(const uuid_t uu);
@@ -19,7 +19,6 @@
#include "qemu-common.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "net.h"
#include "bt-host.h"
@@ -19,7 +19,6 @@
#include "qemu-common.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "net.h"
#include "hw/bt.h"
@@ -14,7 +14,6 @@
#include "qemu-common.h"
#include "hw/hw.h"
#include "qemu-timer.h"
-#include "sysemu.h"
#include "qemu-char.h"
#include "buffered_file.h"
@@ -26,7 +26,6 @@
#include "config-host.h"
#include "monitor.h"
-#include "sysemu.h"
#include "gdbstub.h"
#include "dma.h"
#include "kvm.h"
@@ -17,4 +17,8 @@ void set_numa_modes(void);
void set_cpu_log(const char *optarg);
void list_cpus(FILE *f, fprintf_function cpu_fprintf, const char *optarg);
+void cpu_synchronize_all_states(void);
+void cpu_synchronize_all_post_reset(void);
+void cpu_synchronize_all_post_init(void);
+
#endif
@@ -20,7 +20,6 @@
#include "config.h"
#include "qemu-common.h"
-#include "sysemu.h"
#include "device_tree.h"
#include "hw/loader.h"
@@ -9,7 +9,6 @@
#include "hw.h"
#include "pc.h"
#include "mcf.h"
-#include "sysemu.h"
#include "boards.h"
#include "loader.h"
#include "elf.h"
@@ -9,7 +9,6 @@
#include "sysbus.h"
#include "arm-misc.h"
-#include "sysemu.h"
#include "loader.h"
#include "elf.h"
@@ -26,7 +26,6 @@
#include "net.h"
#include "flash.h"
#include "boards.h"
-#include "sysemu.h"
#include "etraxfs.h"
#include "loader.h"
#include "elf.h"
@@ -19,7 +19,6 @@
*/
#include "qemu-common.h"
-#include "sysemu.h"
#include "console.h"
#include "devices.h"
#include "vga_int.h"
@@ -22,7 +22,6 @@
#include "qemu-char.h"
#include "qemu-timer.h"
#include "irq.h"
-#include "sysemu.h"
#include "net.h"
#include "bt.h"
@@ -23,7 +23,6 @@
*/
#include "hw.h"
-#include "sysemu.h"
#include "loader.h"
#include "elf.h"
#include "cris-boot.h"
@@ -7,7 +7,6 @@
*/
#include "hw.h"
-#include "sysemu.h"
#include "boards.h"
#include "loader.h"
#include "elf.h"
@@ -24,7 +24,6 @@
#include "sysbus.h"
#include "boards.h"
-#include "sysemu.h"
#include "net.h"
#include "flash.h"
#include "etraxfs.h"
@@ -35,7 +35,6 @@
#include "pxa.h"
#include "net.h"
#include "flash.h"
-#include "sysemu.h"
#include "devices.h"
#include "boards.h"
#include "blockdev.h"
@@ -67,7 +67,6 @@
#include <hw/isa.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/pci.h>
@@ -27,7 +27,6 @@
#include <hw/isa.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/internal.h>
@@ -27,7 +27,6 @@
#include <hw/mac_dbdma.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/internal.h>
@@ -27,7 +27,6 @@
#include <hw/pcmcia.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/internal.h>
@@ -25,7 +25,6 @@
#include <hw/hw.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/internal.h>
@@ -28,7 +28,6 @@
#include <hw/isa.h>
#include "block.h"
#include "block_int.h"
-#include "sysemu.h"
#include "dma.h"
#include <hw/ide/pci.h>
@@ -10,7 +10,6 @@
#include "sysbus.h"
#include "primecell.h"
#include "devices.h"
-#include "sysemu.h"
#include "boards.h"
#include "arm-misc.h"
#include "net.h"
@@ -17,7 +17,6 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "hw.h"
-#include "sysemu.h"
#include "monitor.h"
#include "sysbus.h"
#include "isa.h"
@@ -12,7 +12,6 @@
*/
#include "qemu-common.h"
-#include "sysemu.h"
#include "sysbus.h"
#include "kvm.h"
#include "kvmclock.h"
@@ -10,9 +10,9 @@
#include "sysbus.h"
#include "net.h"
#include "devices.h"
-#include "sysemu.h"
/* For crc32 */
#include <zlib.h>
+#include "qemu-timer.h"
//#define DEBUG_LAN9118
@@ -21,7 +21,6 @@
#include "hw.h"
#include "net.h"
#include "flash.h"
-#include "sysemu.h"
#include "devices.h"
#include "boards.h"
#include "loader.h"
@@ -14,7 +14,6 @@
#include "net.h"
#include "devices.h"
#include "boards.h"
-#include "sysemu.h"
#include "flash.h"
#include "blockdev.h"
#include "sysbus.h"
@@ -26,7 +26,6 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "hw.h"
-#include "sysemu.h"
#include "console.h"
#include "omap.h"
#include "boards.h"
@@ -38,7 +38,6 @@
#include "mc146818rtc.h"
#include "msix.h"
#include "sysbus.h"
-#include "sysemu.h"
#include "blockdev.h"
#include "ui/qemu-spice.h"
#include "machine-state.h"
@@ -18,7 +18,6 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "sysemu.h"
#include "monitor.h"
#include "pci.h"
#include "machine-state.h"
@@ -18,7 +18,7 @@
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "sysemu.h"
+#include "qemu-common.h"
#include "range.h"
#include "pci_bridge.h"
#include "pcie.h"
@@ -27,7 +27,6 @@
#include "hw.h"
#include "net.h"
#include "flash.h"
-#include "sysemu.h"
#include "devices.h"
#include "boards.h"
#include "device_tree.h"
@@ -17,7 +17,6 @@
#include "hw.h"
#include "pci.h"
#include "boards.h"
-#include "sysemu.h"
#include "ppc440.h"
#include "kvm.h"
#include "kvm_ppc.h"
@@ -24,7 +24,6 @@
#include "hw.h"
#include "ppc.h"
#include "ppc4xx.h"
-#include "sysemu.h"
#include "qemu-log.h"
//#define DEBUG_MMIO
@@ -24,7 +24,6 @@
#include "qemu-timer.h"
#include "qemu-queue.h"
#include "monitor.h"
-#include "sysemu.h"
#include "qxl.h"
@@ -19,7 +19,6 @@
#include "hw.h"
#include "block.h"
-#include "sysemu.h"
#include "net.h"
#include "boards.h"
#include "monitor.h"
@@ -20,7 +20,6 @@
#include "hw.h"
#include "block.h"
#include "blockdev.h"
-#include "sysemu.h"
#include "net.h"
#include "boards.h"
#include "monitor.h"
@@ -14,7 +14,6 @@
#include "qemu-timer.h"
#include "i2c.h"
#include "net.h"
-#include "sysemu.h"
#include "boards.h"
#define GPIO_A 0
@@ -25,7 +25,6 @@
#include "sysbus.h"
#include "boards.h"
#include "arm-misc.h"
-#include "sysemu.h"
#include "net.h"
static struct arm_boot_info syborg_binfo;
@@ -26,7 +26,6 @@
#include "sysbus.h"
#include "virtio.h"
#include "virtio-net.h"
-#include "sysemu.h"
//#define DEBUG_SYBORG_VIRTIO
@@ -18,7 +18,6 @@
*/
#include "sysbus.h"
-#include "sysemu.h"
#include "monitor.h"
static void sysbus_dev_print(Monitor *mon, DeviceState *dev, int indent);
@@ -1,6 +1,5 @@
#include "hw.h"
#include "sh.h"
-#include "sysemu.h"
#include "loader.h"
#define CE1 0x0100
@@ -11,7 +11,6 @@
#include "hw.h"
#include "pxa.h"
#include "arm-misc.h"
-#include "sysemu.h"
#include "devices.h"
#include "sharpsl.h"
#include "pcmcia.h"
@@ -22,7 +22,6 @@
#include "hw.h"
#include "qemu-timer.h"
#include "i2c.h"
-#include "sysemu.h"
#include "console.h"
#define VERBOSE 1
@@ -26,7 +26,7 @@
#include "console.h"
#include "usb.h"
#include "usb-desc.h"
-#include "sysemu.h"
+#include "qemu-timer.h"
/* HID interface requests */
#define GET_REPORT 0xa101
@@ -15,7 +15,6 @@
#include "qemu-common.h"
#include "virtio.h"
#include "pc.h"
-#include "sysemu.h"
#include "cpu.h"
#include "monitor.h"
#include "balloon.h"
@@ -16,7 +16,6 @@
#include "trace.h"
#include "qemu-error.h"
#include "virtio.h"
-#include "sysemu.h"
/* The alignment to use between consumer and producer parts of vring.
* x86 pagesize again. */
@@ -17,7 +17,6 @@
#include "hw.h"
#include "net.h"
#include "qdev.h"
-#include "sysemu.h"
#include "block_int.h"
#include "event_notifier.h"
#include "vm-state.h"
@@ -24,7 +24,6 @@
#include "hw.h"
#include "isa.h"
#include "pc.h"
-#include "sysemu.h"
#include "kvm.h"
#include "qdev.h"
@@ -25,7 +25,6 @@
#include "qemu-queue.h"
#include "qemu-objects.h"
#include "monitor.h"
-#include "sysemu.h"
#include "hw/watchdog.h"
#include "vm-state.h"
#include "machine-state.h"
@@ -2,7 +2,6 @@
#define QEMU_HW_XEN_BACKEND_H 1
#include "xen_common.h"
-#include "sysemu.h"
#include "net.h"
/* ------------------------------------------------------------- */
@@ -23,7 +23,6 @@
*/
#include "sysbus.h"
-#include "sysemu.h"
#include "qemu-timer.h"
#define D(x)
@@ -11,7 +11,6 @@
*/
#include "qemu-common.h"
-#include "sysemu.h"
#include "hw/hw.h"
#include "exec-all.h"
#include "gdbstub.h"
@@ -36,7 +36,6 @@
#include "gdbstub.h"
#include "softmmu-semi.h"
#endif
-#include "sysemu.h"
#define HOSTED_EXIT 0
#define HOSTED_INIT_SIM 1
@@ -17,7 +17,6 @@
#include "qemu_socket.h"
#include "migration.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "buffered_file.h"
#include "block.h"
#include <sys/types.h>
@@ -16,7 +16,6 @@
#include "migration.h"
#include "monitor.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "buffered_file.h"
#include "block.h"
#include "qemu_socket.h"
@@ -15,7 +15,6 @@
#include "qemu_socket.h"
#include "migration.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "buffered_file.h"
#include "block.h"
@@ -15,7 +15,6 @@
#include "qemu_socket.h"
#include "migration.h"
#include "qemu-char.h"
-#include "sysemu.h"
#include "buffered_file.h"
#include "block.h"
@@ -35,7 +35,6 @@
#include "net/slirp.h"
#include "qemu-char.h"
#include "ui/qemu-spice.h"
-#include "sysemu.h"
#include "monitor.h"
#include "readline.h"
#include "console.h"
@@ -32,7 +32,6 @@
#include "net/vde.h"
#include "net/util.h"
#include "monitor.h"
-#include "sysemu.h"
#include "qemu-common.h"
#include "qemu_socket.h"
#include "hw/qdev.h"
@@ -24,9 +24,9 @@
#include "dump.h"
#include "qemu-common.h"
-#include "sysemu.h"
#include "qemu-error.h"
#include "qemu-log.h"
+#include "qemu-timer.h"
typedef struct DumpState {
VLANClientState nc;
@@ -30,7 +30,6 @@
#endif
#include "net.h"
#include "monitor.h"
-#include "sysemu.h"
#include "qemu_socket.h"
#include "slirp/libslirp.h"
@@ -24,7 +24,6 @@
#include "net/tap.h"
#include "qemu-common.h"
-#include "sysemu.h"
#include "qemu-error.h"
#ifdef __NetBSD__
@@ -29,7 +29,6 @@
#include <net/if.h>
#include <sys/ioctl.h>
-#include "sysemu.h"
#include "qemu-common.h"
#include "qemu-error.h"
@@ -23,7 +23,6 @@
*/
#include "net/tap.h"
-#include "sysemu.h"
#include <sys/stat.h>
#include <sys/ethernet.h>
@@ -30,7 +30,6 @@
#include "qemu-common.h"
#include "net.h"
-#include "sysemu.h"
#include "qemu-error.h"
#include <stdio.h>
#include <windows.h>
@@ -35,7 +35,6 @@
#include <net/if.h>
#include "net.h"
-#include "sysemu.h"
#include "qemu-char.h"
#include "qemu-common.h"
#include "qemu-error.h"
@@ -31,7 +31,6 @@
#include "qemu-char.h"
#include "qemu-common.h"
#include "qemu-option.h"
-#include "sysemu.h"
typedef struct VDEState {
VLANClientState nc;
@@ -35,7 +35,6 @@
/* Needed early for CONFIG_BSD etc. */
#include "config-host.h"
-#include "sysemu.h"
#include "net/slirp.h"
#include "qemu-options.h"
#include "host-state.h"
@@ -30,7 +30,6 @@
#include <errno.h>
#include <sys/time.h>
#include "config-host.h"
-#include "sysemu.h"
#include "qemu-options.h"
/***********************************************************/
@@ -46,7 +46,6 @@ extern int madvise(caddr_t, size_t, int);
#include "qemu-common.h"
#include "trace.h"
-#include "sysemu.h"
#include "qemu_socket.h"
int qemu_madvise(void *addr, size_t len, int advice)
@@ -27,7 +27,6 @@
*/
#include "config-host.h"
-#include "sysemu.h"
#include "trace.h"
#include "qemu_socket.h"
@@ -24,7 +24,6 @@
#include "qemu-queue.h"
#include "osdep.h"
-#include "sysemu.h"
#include "qemu-common.h"
#include "trace.h"
#include "block_int.h"
@@ -40,6 +40,15 @@ typedef struct Monitor Monitor;
#include <sys/time.h>
#include <assert.h>
+#ifdef _WIN32
+#include <windows.h>
+#include "qemu-os-win32.h"
+#endif
+
+#ifdef CONFIG_POSIX
+#include "qemu-os-posix.h"
+#endif
+
#ifndef O_LARGEFILE
#define O_LARGEFILE 0
#endif
@@ -335,6 +344,11 @@ void qemu_iovec_memset_skip(QEMUIOVector *qiov, int c, size_t count,
#define QEMU_FILE_TYPE_KEYMAP 1
char *qemu_find_file(int type, const char *name);
+/* OS specific functions */
+void os_setup_early_signal_handling(void);
+char *os_find_datadir(const char *argv0);
+void os_parse_cmd_args(int index, const char *optarg);
+void os_pidfile_error(void);
/* Convert a byte between binary and BCD. */
static inline uint8_t to_bcd(uint8_t val)
@@ -2,7 +2,6 @@
#include "qemu-error.h"
#include "qemu-option.h"
#include "qemu-config.h"
-#include "sysemu.h"
#include "hw/qdev.h"
static QemuOptsList qemu_drive_opts = {
@@ -12,7 +12,6 @@
#include <stdio.h>
#include "monitor.h"
-#include "sysemu.h"
/*
* Print to current monitor if we have one, else to stderr.
@@ -25,7 +25,6 @@
#include "qemu-option.h"
#include "qemu-error.h"
#include "osdep.h"
-#include "sysemu.h"
#include "block_int.h"
#include <stdio.h>
@@ -22,7 +22,6 @@
* THE SOFTWARE.
*/
-#include "sysemu.h"
#include "net.h"
#include "monitor.h"
#include "console.h"
@@ -58,6 +58,10 @@ void init_clocks(void);
int init_timer_alarm(void);
void quit_timers(void);
+int64_t cpu_get_ticks(void);
+void cpu_enable_ticks(void);
+void cpu_disable_ticks(void);
+
static inline QEMUTimer *qemu_new_timer_ns(QEMUClock *clock, QEMUTimerCB *cb,
void *opaque)
{
@@ -15,7 +15,6 @@
#include "monitor.h"
#include "qemu-timer.h"
#include "qemu-log.h"
-#include "sysemu.h"
#include <sys/time.h>
@@ -75,7 +75,6 @@
#include "hw/qdev.h"
#include "net.h"
#include "monitor.h"
-#include "sysemu.h"
#include "qemu-timer.h"
#include "qemu-char.h"
#include "audio/audio.h"
@@ -83,6 +82,7 @@
#include "qemu_socket.h"
#include "qemu-queue.h"
#include "vm-state.h"
+#include "cpus.h"
#define SELF_ANNOUNCE_ROUNDS 5
deleted file mode 100644
@@ -1,35 +0,0 @@
-#ifndef SYSEMU_H
-#define SYSEMU_H
-/* Misc. things related to the system emulator. */
-
-#include "qemu-common.h"
-#include "qemu-option.h"
-#include "qemu-queue.h"
-#include "qemu-timer.h"
-#include "notify.h"
-
-#ifdef _WIN32
-#include <windows.h>
-#include "qemu-os-win32.h"
-#endif
-
-#ifdef CONFIG_POSIX
-#include "qemu-os-posix.h"
-#endif
-
-/* vl.c */
-int64_t cpu_get_ticks(void);
-void cpu_enable_ticks(void);
-void cpu_disable_ticks(void);
-
-void cpu_synchronize_all_states(void);
-void cpu_synchronize_all_post_reset(void);
-void cpu_synchronize_all_post_init(void);
-
-/* OS specific functions */
-void os_setup_early_signal_handling(void);
-char *os_find_datadir(const char *argv0);
-void os_parse_cmd_args(int index, const char *optarg);
-void os_pidfile_error(void);
-
-#endif
@@ -21,7 +21,6 @@
#include "qemu-common.h"
#include "qemu-timer.h"
-#include "sysemu.h"
#include "kvm.h"
#include "kvm_ppc.h"
#include "cpu.h"
@@ -26,7 +26,6 @@
#include "qemu-common.h"
#include "qemu-timer.h"
-#include "sysemu.h"
#include "kvm.h"
#include "cpu.h"
#include "device_tree.h"
@@ -26,7 +26,6 @@
#include "qemu-common.h"
#include "console.h"
-#include "sysemu.h"
#ifndef MAC_OS_X_VERSION_10_4
#define MAC_OS_X_VERSION_10_4 1040
@@ -23,7 +23,6 @@
*/
#include "keymaps.h"
-#include "sysemu.h"
static int get_keysym(const name2keysym_t *table,
const char *name)
@@ -34,7 +34,6 @@
#include "qemu-common.h"
#include "console.h"
-#include "sysemu.h"
#include "x_keymap.h"
#include "sdl_zoom.h"
#include "host-state.h"
@@ -23,7 +23,6 @@
#include "qemu-queue.h"
#include "monitor.h"
#include "console.h"
-#include "sysemu.h"
#include "spice-display.h"
@@ -129,7 +129,6 @@ int main(int argc, char **argv)
#include "net/slirp.h"
#include "monitor.h"
#include "console.h"
-#include "sysemu.h"
#include "gdbstub.h"
#include "qemu-timer.h"
#include "qemu-char.h"
--
1.7.2.5
Move the remainders of sysemu.h to cpus.h, qemu-common.h and qemu-timer.h. Adjust users. Signed-off-by: Blue Swirl <blauwirbel@gmail.com> --- acl.c | 1 - arch_init.c | 2 +- arm-semi.c | 1 - audio/winwaveaudio.c | 1 - balloon.c | 1 - block/vdi.c | 1 - bt-host.c | 1 - bt-vhci.c | 1 - buffered_file.c | 1 - cpus.c | 1 - cpus.h | 4 ++++ device_tree.c | 1 - hw/an5206.c | 1 - hw/armv7m.c | 1 - hw/axis_dev88.c | 1 - hw/blizzard.c | 1 - hw/bt-hci-csr.c | 1 - hw/cris-boot.c | 1 - hw/dummy_m68k.c | 1 - hw/etraxfs.c | 1 - hw/gumstix.c | 1 - hw/ide/ich.c | 1 - hw/ide/isa.c | 1 - hw/ide/macio.c | 1 - hw/ide/microdrive.c | 1 - hw/ide/mmio.c | 1 - hw/ide/pci.c | 1 - hw/integratorcp.c | 1 - hw/isa-bus.c | 1 - hw/kvmclock.c | 1 - hw/lan9118.c | 2 +- hw/lm32_boards.c | 1 - hw/mainstone.c | 1 - hw/omap_sx1.c | 1 - hw/pc.c | 1 - hw/pci-stub.c | 1 - hw/pcie.c | 2 +- hw/petalogix_s3adsp1800_mmu.c | 1 - hw/ppc440_bamboo.c | 1 - hw/ppc4xx_devs.c | 1 - hw/qxl.c | 1 - hw/s390-virtio-bus.c | 1 - hw/s390-virtio.c | 1 - hw/stellaris.c | 1 - hw/syborg.c | 1 - hw/syborg_virtio.c | 1 - hw/sysbus.c | 1 - hw/tc58128.c | 1 - hw/tosa.c | 1 - hw/twl92230.c | 1 - hw/usb-hid.c | 2 +- hw/virtio-balloon.c | 1 - hw/virtio.c | 1 - hw/virtio.h | 1 - hw/vmport.c | 1 - hw/watchdog.c | 1 - hw/xen_backend.h | 1 - hw/xilinx_timer.c | 1 - kvm-stub.c | 1 - m68k-semi.c | 1 - migration-exec.c | 1 - migration-fd.c | 1 - migration-tcp.c | 1 - migration-unix.c | 1 - monitor.c | 1 - net.c | 1 - net/dump.c | 2 +- net/slirp.c | 1 - net/tap-bsd.c | 1 - net/tap-linux.c | 1 - net/tap-solaris.c | 1 - net/tap-win32.c | 1 - net/tap.c | 1 - net/vde.c | 1 - os-posix.c | 1 - os-win32.c | 1 - osdep.c | 1 - oslib-posix.c | 1 - posix-aio-compat.c | 1 - qemu-common.h | 14 ++++++++++++++ qemu-config.c | 1 - qemu-error.c | 1 - qemu-img.c | 1 - qemu-timer.c | 1 - qemu-timer.h | 4 ++++ qemu-tool.c | 1 - savevm.c | 2 +- sysemu.h | 35 ----------------------------------- target-ppc/kvm.c | 1 - target-s390x/kvm.c | 1 - ui/cocoa.m | 1 - ui/keymaps.c | 1 - ui/sdl.c | 1 - ui/spice-display.c | 1 - vl.c | 1 - 95 files changed, 28 insertions(+), 126 deletions(-) delete mode 100644 sysemu.h