From: Paolo Bonzini <pbonzini@redhat.com>
To: qemu-devel@nongnu.org
Cc: ehabkost@redhat.com
Subject: [Qemu-devel] [RFC PATCH 00/11] Stubs cleanup
Date: Thu, 22 Dec 2016 16:59:04 +0100 [thread overview]
Message-ID: <20161222155915.7232-1-pbonzini@redhat.com> (raw)
This moves out of libqemustub.a those functions which can be handled
simply by $(call lnot), like we already do for pci-stub.c or kvm-stub.c.
libqemustub.a keep the more complex cases where a small part of the
executables we build needs an implementation of a small subset of an API.
Paolo
Paolo Bonzini (11):
stubs: merge all monitor stubs in one file, remove monitor_cur_is_qmp stub
stubs: move smbios stubs to hw/smbios
stubs: move acpi stubs to hw/acpi
stubs: remove unused stub for serial_hd
hw: move reset handlers from vl.c to hw/core
stubs: group stubs for user-mode emulation
stubs: group all monitor_fdset_* functions in a single file
stubs: move vhost stubs to stubs/vhost.o
event_notifier: cleanups around event_notifier_set_handler
build: remove --enable-colo/--disable-colo
stubs: remove stubs/kvm.c
MAINTAINERS | 1 +
Makefile.target | 4 +-
configure | 11 ----
hw/Makefile.objs | 2 +-
hw/acpi/Makefile.objs | 12 ++--
stubs/ipmi.c => hw/acpi/ipmi-stub.c | 0
hw/core/Makefile.objs | 2 +-
hw/core/reset.c | 72 ++++++++++++++++++++++
hw/smbios/Makefile.objs | 11 +++-
.../smbios/smbios_type_38-stub.c | 0
hw/usb/ccid-card-emulated.c | 2 +-
hw/virtio/Makefile.objs | 6 +-
stubs/vhost.c => hw/virtio/vhost-stub.c | 0
hw/virtio/virtio.c | 10 +--
include/hw/hw.h | 6 +-
include/qemu/event_notifier.h | 3 -
include/qemu/main-loop.h | 15 +++++
include/sysemu/reset.h | 10 +++
include/sysemu/sysemu.h | 1 -
iohandler.c | 7 +++
migration/Makefile.objs | 3 +-
stubs/Makefile.objs | 19 +-----
stubs/cpus.c | 11 ----
stubs/fdset-add-fd.c | 8 ---
stubs/fdset-find-fd.c | 8 ---
stubs/fdset-get-fd.c | 8 ---
stubs/fdset-remove-fd.c | 7 ---
stubs/fdset.c | 22 +++++++
stubs/get-next-serial.c | 4 --
stubs/iohandler.c | 8 ---
stubs/kvm.c | 8 ---
stubs/migration-colo.c | 46 --------------
stubs/mon-is-qmp.c | 10 ---
stubs/monitor-init.c | 7 ---
stubs/{get-fd.c => monitor.c} | 6 ++
stubs/replay-user.c | 33 ----------
stubs/reset.c | 14 -----
target/i386/hyperv.c | 7 ++-
target/mips/kvm.c | 5 ++
target/ppc/kvm.c | 5 ++
target/s390x/kvm.c | 5 ++
tests/Makefile.include | 1 +
user-exec-stub.c | 34 ++++++++++
util/event_notifier-posix.c | 9 ---
util/event_notifier-win32.c | 12 ----
vl.c | 42 -------------
46 files changed, 222 insertions(+), 295 deletions(-)
rename stubs/ipmi.c => hw/acpi/ipmi-stub.c (100%)
create mode 100644 hw/core/reset.c
rename stubs/smbios_type_38.c => hw/smbios/smbios_type_38-stub.c (100%)
rename stubs/vhost.c => hw/virtio/vhost-stub.c (100%)
create mode 100644 include/sysemu/reset.h
delete mode 100644 stubs/cpus.c
delete mode 100644 stubs/fdset-add-fd.c
delete mode 100644 stubs/fdset-find-fd.c
delete mode 100644 stubs/fdset-get-fd.c
delete mode 100644 stubs/fdset-remove-fd.c
create mode 100644 stubs/fdset.c
delete mode 100644 stubs/get-next-serial.c
delete mode 100644 stubs/iohandler.c
delete mode 100644 stubs/kvm.c
delete mode 100644 stubs/migration-colo.c
delete mode 100644 stubs/mon-is-qmp.c
delete mode 100644 stubs/monitor-init.c
rename stubs/{get-fd.c => monitor.c} (75%)
delete mode 100644 stubs/replay-user.c
delete mode 100644 stubs/reset.c
create mode 100644 user-exec-stub.c
--
2.9.3
next reply other threads:[~2016-12-22 15:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-22 15:59 Paolo Bonzini [this message]
2016-12-22 15:59 ` [Qemu-devel] [PATCH 01/11] stubs: merge all monitor stubs in one file, remove monitor_cur_is_qmp stub Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 02/11] stubs: move smbios stubs to hw/smbios Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 03/11] stubs: move acpi stubs to hw/acpi Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 04/11] stubs: remove unused stub for serial_hd Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 05/11] hw: move reset handlers from vl.c to hw/core Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 06/11] stubs: group stubs for user-mode emulation Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 07/11] stubs: group all monitor_fdset_* functions in a single file Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 08/11] stubs: move vhost stubs to stubs/vhost.o Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 09/11] event_notifier: cleanups around event_notifier_set_handler Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 10/11] build: remove --enable-colo/--disable-colo Paolo Bonzini
2016-12-22 15:59 ` [Qemu-devel] [PATCH 11/11] stubs: remove stubs/kvm.c Paolo Bonzini
2016-12-22 17:30 ` [Qemu-devel] [RFC PATCH 00/11] Stubs cleanup Peter Maydell
2016-12-22 17:32 ` Paolo Bonzini
2016-12-22 17:42 ` Eduardo Habkost
2016-12-22 17:45 ` Paolo Bonzini
2016-12-23 9:02 ` Markus Armbruster
2016-12-23 9:18 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161222155915.7232-1-pbonzini@redhat.com \
--to=pbonzini@redhat.com \
--cc=ehabkost@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.