]> git.proxmox.com Git - mirror_qemu.git/commit - monitor.c
monitor: remove target-specific code from monitor.c
authorPavel Butsykin <pbutsykin@virtuozzo.com>
Thu, 10 Sep 2015 15:38:59 +0000 (18:38 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Sep 2015 15:33:32 +0000 (17:33 +0200)
commitbf957284006b6325e6ed64fd839c237c15b42029
tree09ec7d22bc22be35add71d22fc30a9b13b08677c
parentda76ee76f78b9705e2a91e3c964aef28fecededb
monitor: remove target-specific code from monitor.c

Move target-specific code out of /monitor.c to /target-*/monitor.c,
this will avoid code cluttering and using random ifdeffery.  The solution
is quite simple, but solves the issue of the separation of target-specific
code from monitor.

Signed-off-by: Pavel Butsykin <pbutsykin@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <1441899541-1856-3-git-send-email-den@openvz.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
15 files changed:
include/monitor/hmp-target.h [new file with mode: 0644]
include/qemu/typedefs.h
monitor.c
stubs/Makefile.objs
stubs/target-monitor-defs.c [new file with mode: 0644]
target-i386/Makefile.objs
target-i386/monitor.c [new file with mode: 0644]
target-ppc/Makefile.objs
target-ppc/monitor.c [new file with mode: 0644]
target-sh4/Makefile.objs
target-sh4/monitor.c [new file with mode: 0644]
target-sparc/Makefile.objs
target-sparc/monitor.c [new file with mode: 0644]
target-xtensa/Makefile.objs
target-xtensa/monitor.c [new file with mode: 0644]