Skip to contentSkip to conversation

Clean up around osdep.h and qemu-common.h

PATCH In review Markus Armbruster 4 participants 33 messages Mar 15, 2016 – Mar 18, 2016 Page 2 of 2

Subsystems (12)
lore
Share & tools
lore
#28 lore raw

PATCH 15/15 Drop superfluous qemu-common.h inclusions

In reply to Markus Armbruster
---
 aio-posix.c                             | 1 -
 aio-win32.c                             | 1 -
 async.c                                 | 1 -
 audio/alsaaudio.c                       | 1 -
 audio/audio_pt_int.c                    | 1 -
 audio/audio_win_int.c                   | 1 -
 audio/coreaudio.c                       | 1 -
 audio/dsoundaudio.c                     | 1 -
 audio/noaudio.c                         | 1 -
 audio/ossaudio.c                        | 1 -
 audio/paaudio.c                         | 1 -
 audio/sdlaudio.c                        | 1 -
 backends/baum.c                         | 1 -
 block/archipelago.c                     | 1 -
 block/bochs.c                           | 1 -
 block/cloop.c                           | 1 -
 block/dmg.c                             | 1 -
 block/linux-aio.c                       | 1 -
 block/nfs.c                             | 1 -
 block/parallels.c                       | 1 -
 block/qcow.c                            | 1 -
 block/qcow2-cache.c                     | 1 -
 block/qcow2-cluster.c                   | 1 -
 block/qcow2-refcount.c                  | 1 -
 block/raw-win32.c                       | 1 -
 block/vhdx-endian.c                     | 1 -
 block/vhdx-log.c                        | 1 -
 block/vhdx.c                            | 1 -
 block/vpc.c                             | 1 -
 block/win32-aio.c                       | 1 -
 blockjob.c                              | 1 -
 bsd-user/main.c                         | 1 -
 bsd-user/mmap.c                         | 1 -
 bsd-user/syscall.c                      | 1 -
 bt-vhci.c                               | 1 -
 contrib/ivshmem-client/ivshmem-client.c | 1 -
 contrib/ivshmem-client/main.c           | 1 -
 crypto/aes.c                            | 1 -
 device_tree.c                           | 1 -
 disas.c                                 | 1 -
 disas/cris.c                            | 1 -
 disas/s390.c                            | 1 -
 disas/tci.c                             | 1 -
 fsdev/qemu-fsdev.c                      | 1 -
 fsdev/virtfs-proxy-helper.c             | 1 -
 hw/9pfs/coth.c                          | 1 -
 hw/acpi/bios-linker-loader.c            | 1 -
 hw/acpi/tco.c                           | 1 -
 hw/arm/sysbus-fdt.c                     | 1 -
 hw/block/cdrom.c                        | 1 -
 hw/block/onenand.c                      | 1 -
 hw/block/virtio-blk.c                   | 1 -
 hw/bt/core.c                            | 1 -
 hw/bt/hci-csr.c                         | 1 -
 hw/bt/hid.c                             | 1 -
 hw/bt/l2cap.c                           | 1 -
 hw/core/null-machine.c                  | 1 -
 hw/display/blizzard.c                   | 1 -
 hw/display/exynos4210_fimd.c            | 1 -
 hw/display/jazz_led.c                   | 1 -
 hw/display/qxl.c                        | 1 -
 hw/display/virtio-gpu-3d.c              | 1 -
 hw/display/virtio-gpu.c                 | 1 -
 hw/dma/etraxfs_dma.c                    | 1 -
 hw/dma/omap_dma.c                       | 1 -
 hw/dma/soc_dma.c                        | 1 -
 hw/i386/acpi-build.c                    | 1 -
 hw/i386/kvm/clock.c                     | 1 -
 hw/input/virtio-input-host.c            | 1 -
 hw/intc/exynos4210_gic.c                | 1 -
 hw/isa/lpc_ich9.c                       | 1 -
 hw/net/allwinner_emac.c                 | 1 -
 hw/net/rocker/qmp-norocker.c            | 1 -
 hw/net/vmxnet3.c                        | 1 -
 hw/net/vmxnet_rx_pkt.c                  | 1 -
 hw/net/vmxnet_tx_pkt.c                  | 1 -
 hw/pci/msix.c                           | 1 -
 hw/pci/pcie.c                           | 1 -
 hw/pci/shpc.c                           | 1 -
 hw/pcmcia/pcmcia.c                      | 1 -
 hw/ppc/e500plat.c                       | 1 -
 hw/ppc/mpc8544ds.c                      | 1 -
 hw/scsi/scsi-generic.c                  | 1 -
 hw/timer/arm_timer.c                    | 1 -
 hw/timer/exynos4210_mct.c               | 1 -
 hw/timer/exynos4210_pwm.c               | 1 -
 hw/tpm/tpm_passthrough.c                | 1 -
 hw/tpm/tpm_tis.c                        | 1 -
 hw/unicore32/puv3.c                     | 1 -
 hw/usb/combined-packet.c                | 1 -
 hw/usb/core.c                           | 1 -
 hw/usb/dev-audio.c                      | 1 -
 hw/usb/dev-bluetooth.c                  | 1 -
 hw/usb/dev-hub.c                        | 1 -
 hw/usb/dev-mtp.c                        | 1 -
 hw/usb/dev-uas.c                        | 1 -
 hw/usb/hcd-musb.c                       | 1 -
 hw/usb/host-legacy.c                    | 1 -
 hw/usb/host-libusb.c                    | 1 -
 hw/usb/host-stub.c                      | 1 -
 hw/usb/libhw.c                          | 1 -
 hw/usb/tusb6010.c                       | 1 -
 hw/virtio/virtio-balloon.c              | 1 -
 hw/watchdog/wdt_i6300esb.c              | 1 -
 hw/watchdog/wdt_ib700.c                 | 1 -
 iohandler.c                             | 1 -
 kvm-stub.c                              | 1 -
 linux-user/mmap.c                       | 1 -
 linux-user/signal.c                     | 1 -
 memory_mapping.c                        | 1 -
 migration/exec.c                        | 1 -
 migration/fd.c                          | 1 -
 migration/postcopy-ram.c                | 1 -
 migration/qemu-file-buf.c               | 1 -
 migration/qemu-file-stdio.c             | 1 -
 migration/qemu-file.c                   | 1 -
 migration/tcp.c                         | 1 -
 migration/unix.c                        | 1 -
 migration/vmstate.c                     | 1 -
 net/checksum.c                          | 1 -
 net/eth.c                               | 1 -
 net/l2tpv3.c                            | 1 -
 net/tap-bsd.c                           | 1 -
 net/tap-win32.c                         | 1 -
 net/vde.c                               | 1 -
 qapi/qapi-dealloc-visitor.c             | 1 -
 qapi/qapi-util.c                        | 1 -
 qapi/qapi-visit-core.c                  | 1 -
 qapi/qmp-event.c                        | 1 -
 qapi/qmp-input-visitor.c                | 1 -
 qapi/qmp-output-visitor.c               | 1 -
 qapi/string-input-visitor.c             | 1 -
 qapi/string-output-visitor.c            | 1 -
 qobject/json-lexer.c                    | 1 -
 qobject/json-streamer.c                 | 1 -
 qobject/qbool.c                         | 1 -
 qobject/qfloat.c                        | 1 -
 qobject/qint.c                          | 1 -
 qobject/qlist.c                         | 1 -
 qobject/qnull.c                         | 1 -
 qobject/qobject.c                       | 1 -
 qobject/qstring.c                       | 1 -
 qom/qom-qobject.c                       | 1 -
 replay/replay-events.c                  | 1 -
 replay/replay-input.c                   | 1 -
 replay/replay-internal.c                | 1 -
 replay/replay-time.c                    | 1 -
 stubs/arch-query-cpu-def.c              | 1 -
 stubs/bdrv-commit-all.c                 | 1 -
 stubs/clock-warp.c                      | 1 -
 stubs/cpu-get-clock.c                   | 1 -
 stubs/cpu-get-icount.c                  | 1 -
 stubs/cpus.c                            | 1 -
 stubs/dump.c                            | 1 -
 stubs/fd-register.c                     | 1 -
 stubs/fdset-add-fd.c                    | 1 -
 stubs/fdset-find-fd.c                   | 1 -
 stubs/fdset-get-fd.c                    | 1 -
 stubs/fdset-remove-fd.c                 | 1 -
 stubs/get-fd.c                          | 1 -
 stubs/get-next-serial.c                 | 1 -
 stubs/iothread-lock.c                   | 1 -
 stubs/is-daemonized.c                   | 1 -
 stubs/kvm.c                             | 1 -
 stubs/machine-init-done.c               | 1 -
 stubs/migr-blocker.c                    | 1 -
 stubs/mon-is-qmp.c                      | 1 -
 stubs/mon-printf.c                      | 1 -
 stubs/monitor-init.c                    | 1 -
 stubs/notify-event.c                    | 1 -
 stubs/set-fd-handler.c                  | 1 -
 stubs/slirp.c                           | 1 -
 stubs/uuid.c                            | 1 -
 stubs/vm-stop.c                         | 1 -
 stubs/vmstate.c                         | 1 -
 target-arm/kvm-stub.c                   | 1 -
 target-arm/kvm.c                        | 1 -
 target-arm/kvm32.c                      | 1 -
 target-arm/kvm64.c                      | 1 -
 target-i386/kvm-stub.c                  | 1 -
 target-i386/kvm.c                       | 1 -
 target-m68k/m68k-semi.c                 | 1 -
 target-mips/kvm.c                       | 1 -
 target-openrisc/interrupt.c             | 1 -
 target-openrisc/mmu.c                   | 1 -
 target-openrisc/translate.c             | 1 -
 target-ppc/kvm-stub.c                   | 1 -
 target-ppc/kvm.c                        | 1 -
 target-s390x/kvm.c                      | 1 -
 target-tilegx/helper.c                  | 1 -
 target-tilegx/simd_helper.c             | 1 -
 target-xtensa/core-dc233c.c             | 1 -
 tcg/optimize.c                          | 1 -
 tci.c                                   | 1 -
 tests/ahci-test.c                       | 1 -
 tests/boot-sector.c                     | 1 -
 tests/check-qdict.c                     | 1 -
 tests/check-qfloat.c                    | 1 -
 tests/check-qint.c                      | 1 -
 tests/check-qjson.c                     | 1 -
 tests/check-qstring.c                   | 1 -
 tests/device-introspect-test.c          | 1 -
 tests/fdc-test.c                        | 1 -
 tests/hd-geo-test.c                     | 1 -
 tests/ipmi-bt-test.c                    | 1 -
 tests/libqos/ahci.c                     | 1 -
 tests/libqos/malloc-pc.c                | 1 -
 tests/libqos/pci-pc.c                   | 1 -
 tests/pc-cpu-test.c                     | 1 -
 tests/pxe-test.c                        | 1 -
 tests/rtl8139-test.c                    | 1 -
 tests/test-iov.c                        | 1 -
 tests/test-qmp-commands.c               | 1 -
 tests/test-qmp-event.c                  | 1 -
 tests/test-qmp-input-strict.c           | 1 -
 tests/test-qmp-input-visitor.c          | 1 -
 tests/test-qmp-output-visitor.c         | 1 -
 tests/test-string-input-visitor.c       | 1 -
 tests/test-string-output-visitor.c      | 1 -
 tests/test-thread-pool.c                | 1 -
 tests/test-visitor-serialization.c      | 1 -
 tests/test-vmstate.c                    | 1 -
 tests/virtio-9p-test.c                  | 1 -
 thread-pool.c                           | 1 -
 ui/console-gl.c                         | 1 -
 ui/curses.c                             | 1 -
 ui/cursor.c                             | 1 -
 ui/egl-context.c                        | 1 -
 ui/gtk-egl.c                            | 1 -
 ui/gtk-gl-area.c                        | 1 -
 ui/qemu-pixman.c                        | 1 -
 ui/sdl2-2d.c                            | 1 -
 ui/sdl2-gl.c                            | 1 -
 ui/sdl2-input.c                         | 1 -
 ui/sdl2.c                               | 1 -
 ui/shader.c                             | 1 -
 ui/spice-core.c                         | 1 -
 ui/spice-display.c                      | 1 -
 ui/spice-input.c                        | 1 -
 ui/vnc-enc-tight.c                      | 1 -
 ui/x_keymap.c                           | 1 -
 util/acl.c                              | 1 -
 util/compatfd.c                         | 1 -
 util/coroutine-gthread.c                | 1 -
 util/coroutine-sigaltstack.c            | 1 -
 util/coroutine-ucontext.c               | 1 -
 util/coroutine-win32.c                  | 1 -
 util/crc32c.c                           | 1 -
 util/envlist.c                          | 1 -
 util/error.c                            | 1 -
 util/event_notifier-win32.c             | 1 -
 util/fifo8.c                            | 1 -
 util/getauxval.c                        | 1 -
 util/log.c                              | 1 -
 util/mmap-alloc.c                       | 1 -
 util/module.c                           | 1 -
 util/notify.c                           | 1 -
 util/qemu-config.c                      | 1 -
 util/qemu-coroutine-lock.c              | 1 -
 util/qemu-coroutine.c                   | 1 -
 util/qemu-thread-win32.c                | 1 -
 util/rcu.c                              | 1 -
 262 files changed, 262 deletions(-)
aio-posix.c +0 -1
index fa7f8ab..5fbc837 100644
@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block.h"
 #include "qemu/queue.h"
 #include "qemu/sockets.h"
aio-win32.c +0 -1
index 6aaa32a..ec29ca3 100644
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block.h"
 #include "qemu/queue.h"
 #include "qemu/sockets.h"
async.c +0 -1
index b4bf205..e5093a7 100644
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/aio.h"
 #include "block/thread-pool.h"
 #include "qemu/main-loop.h"
audio/alsaaudio.c +0 -1
index 3652a7b..08148a1 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include <alsa/asoundlib.h>
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "audio.h"
 #include "trace.h"
audio/audio_pt_int.c +0 -1
index 21ff9c5..c8b3f42 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "audio.h"
 
 #define AUDIO_CAP "audio-pt"
audio/audio_win_int.c +0 -1
index 6900008..34e7071 100644
@@ -1,7 +1,6 @@
 /* public domain */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #define AUDIO_CAP "win-int"
 #include <windows.h>
audio/coreaudio.c +0 -1
index d4ad224..f626883 100644
@@ -26,7 +26,6 @@
 #include <CoreAudio/CoreAudio.h>
 #include <pthread.h>            /* pthread_X */
 
-#include "qemu-common.h"
 #include "audio.h"
 
 #define AUDIO_CAP "coreaudio"
audio/dsoundaudio.c +0 -1
index 516846e..24ae95f 100644
@@ -27,7 +27,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "audio.h"
 
 #define AUDIO_CAP "dsound"
audio/noaudio.c +0 -1
index 09588b9..7c33cc0 100644
@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "audio.h"
 #include "qemu/timer.h"
 
audio/ossaudio.c +0 -1
index 349e9dd..57a5087 100644
@@ -25,7 +25,6 @@
 #include <sys/mman.h>
 #include <sys/ioctl.h>
 #include <sys/soundcard.h>
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/host-utils.h"
 #include "audio.h"
audio/paaudio.c +0 -1
index 57678e7..651ef8d 100644
@@ -1,6 +1,5 @@
 /* public domain */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "audio.h"
 
 #include <pulse/pulseaudio.h>
audio/sdlaudio.c +0 -1
index db69fe1..14f1413 100644
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include <SDL.h>
 #include <SDL_thread.h>
-#include "qemu-common.h"
 #include "audio.h"
 
 #ifndef _WIN32
backends/baum.c +0 -1
index 7644f72..7ee8aa3 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "sysemu/char.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
block/archipelago.c +0 -1
index 0507589..6bc5850 100644
@@ -51,7 +51,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/error-report.h"
 #include "qemu/thread.h"
block/bochs.c +0 -1
index af8b7ab..1334297 100644
@@ -24,7 +24,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 
block/cloop.c +0 -1
index a84f140..fc32bd2 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include <zlib.h>
block/dmg.c +0 -1
index a496eb7..8452e54 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/bswap.h"
 #include "qemu/error-report.h"
block/linux-aio.c +0 -1
index 805757e..042c93d 100644
@@ -8,7 +8,6 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/aio.h"
 #include "qemu/queue.h"
 #include "block/raw-aio.h"
block/nfs.c +0 -1
index 7220e89..ee00cb6 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 
 #include <poll.h>
-#include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
 #include "block/block_int.h"
block/parallels.c +0 -1
index dfba8d4..74e7cce 100644
@@ -29,7 +29,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include "qemu/bitmap.h"
block/qcow.c +0 -1
index 4485819..f0d833d 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include <zlib.h>
block/qcow2-cache.c +0 -1
index 0fe8eda..e5ececb 100644
@@ -30,7 +30,6 @@
 #endif
 
 #include "block/block_int.h"
-#include "qemu-common.h"
 #include "qcow2.h"
 #include "trace.h"
 
block/qcow2-cluster.c +0 -1
index 31ecc10..836c56f 100644
@@ -26,7 +26,6 @@
 #include <zlib.h>
 
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "block/qcow2.h"
 #include "trace.h"
block/qcow2-refcount.c +0 -1
index ca6094f..f5a2eb7 100644
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "block/qcow2.h"
 #include "qemu/range.h"
block/raw-win32.c +0 -1
index 21a6cb8..a0b9610 100644
@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
block/vhdx-endian.c +0 -1
index da33cd3..d619652 100644
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "block/vhdx.h"
 
block/vhdx-log.c +0 -1
index 7ea7187..c250486 100644
@@ -19,7 +19,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
block/vhdx.c +0 -1
index cbb54d8..f92b283 100644
@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include "qemu/crc32c.h"
block/vpc.c +0 -1
index d60f692..c4d69b4 100644
@@ -24,7 +24,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include "migration/migration.h"
block/win32-aio.c +0 -1
index 2d509a9..c4432b0 100644
@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
blockjob.c +0 -1
index 9fc37ca..08c1fac 100644
@@ -24,7 +24,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "trace.h"
 #include "block/block.h"
 #include "block/blockjob.h"
bsd-user/main.c +0 -1
index 287ec1d..1f2f4af 100644
@@ -21,7 +21,6 @@
 #include <sys/mman.h>
 
 #include "qemu.h"
-#include "qemu-common.h"
 /* For tb_lock */
 #include "cpu.h"
 #include "tcg.h"
bsd-user/mmap.c +0 -1
index 6ab5334..a7028af 100644
@@ -20,7 +20,6 @@
 #include <sys/mman.h>
 
 #include "qemu.h"
-#include "qemu-common.h"
 #include "bsd-mman.h"
 
 //#define DEBUG_MMAP
bsd-user/syscall.c +0 -1
index 35f784c..bbe4ed8 100644
@@ -24,7 +24,6 @@
 #include <utime.h>
 
 #include "qemu.h"
-#include "qemu-common.h"
 
 //#define DEBUG
 
bt-vhci.c +0 -1
index 9d277c3..886e146 100644
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/bt.h"
 #include "hw/bt.h"
 #include "qemu/main-loop.h"
contrib/ivshmem-client/ivshmem-client.c +0 -1
index 44ae364..b1274b2 100644
@@ -10,7 +10,6 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-#include "qemu-common.h"
 #include "qemu/queue.h"
 
 #include "ivshmem-client.h"
contrib/ivshmem-client/main.c +0 -1
index 33ae1da..21f38f3 100644
@@ -7,7 +7,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #include "ivshmem-client.h"
 
crypto/aes.c +0 -1
index 3456eac..0dcaf0b 100644
@@ -28,7 +28,6 @@
  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "crypto/aes.h"
 
 typedef uint32_t u32;
device_tree.c +0 -1
index ccba1fd..f3ce6c1 100644
@@ -18,7 +18,6 @@
 #endif
 
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "sysemu/device_tree.h"
 #include "sysemu/sysemu.h"
disas.c +0 -1
index 05a7a12..11995e4 100644
@@ -1,6 +1,5 @@
 /* General "disassemble this chunk" code.  Used for debugging. */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/bfd.h"
 #include "elf.h"
 
disas/cris.c +0 -1
index 7f35bc0..8d2ce2c 100644
@@ -19,7 +19,6 @@
    along with this program; if not, see <http://www.gnu.org/licenses/>. */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/bfd.h"
 //#include "sysdep.h"
 #include "target-cris/opcode-cris.h"
disas/s390.c +0 -1
index 1f167d2..4608764 100644
@@ -21,7 +21,6 @@
    02110-1301, USA.  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/bfd.h"
 
 /* include/opcode/s390.h revision 1.9 */
disas/tci.c +0 -1
index 1cdf5ee..9ee2f04 100644
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/bfd.h"
 #include "tcg/tcg.h"
 
fsdev/qemu-fsdev.c +0 -1
index bf7f0b0..e7fe060 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include "qemu-fsdev.h"
 #include "qemu/queue.h"
-#include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
 
fsdev/virtfs-proxy-helper.c +0 -1
index 54f7ad1..ddbd694 100644
@@ -21,7 +21,6 @@
 #ifdef CONFIG_LINUX_MAGIC_H
 #include <linux/magic.h>
 #endif
-#include "qemu-common.h"
 #include "qemu/sockets.h"
 #include "qemu/xattr.h"
 #include "9p-iov-marshal.h"
hw/9pfs/coth.c +0 -1
index 464293e..3a08517 100644
@@ -13,7 +13,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/thread-pool.h"
 #include "qemu/coroutine.h"
 #include "qemu/main-loop.h"
hw/acpi/bios-linker-loader.c +0 -1
index ace9abb..8db2f2d 100644
@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/acpi/bios-linker-loader.h"
 #include "hw/nvram/fw_cfg.h"
 
hw/acpi/tco.c +0 -1
index 8ce7daf..958628d 100644
@@ -7,7 +7,6 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/watchdog.h"
 #include "hw/i386/ich9.h"
 
hw/arm/sysbus-fdt.c +0 -1
index 5debb33..428c476 100644
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include <libfdt.h>
-#include "qemu-common.h"
 #ifdef CONFIG_LINUX
 #include <linux/vfio.h>
 #endif
hw/block/cdrom.c +0 -1
index da937fe..c6bfa50 100644
@@ -26,7 +26,6 @@
    here.  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/scsi/scsi.h"
 
 static void lba_to_msf(uint8_t *buf, int lba)
hw/block/onenand.c +0 -1
index 883f4b1..a2be757 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/block/flash.h"
 #include "hw/irq.h"
hw/block/virtio-blk.c +0 -1
index 870d345..bae581d 100644
@@ -13,7 +13,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "qemu/error-report.h"
 #include "trace.h"
hw/bt/core.c +0 -1
index 615f0af..c566df4 100644
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/bt.h"
 #include "hw/bt.h"
 
hw/bt/hci-csr.c +0 -1
index 0189b0a..616d7d0 100644
@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/char.h"
 #include "qemu/timer.h"
 #include "hw/irq.h"
hw/bt/hid.c +0 -1
index f6affbb..258780a 100644
@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "ui/console.h"
 #include "hw/input/hid.h"
hw/bt/l2cap.c +0 -1
index 8065251..1b0d9ad 100644
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/bt.h"
 
hw/core/null-machine.c +0 -1
index 0351ba7..f2937dd 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/boards.h"
 
hw/display/blizzard.c +0 -1
index c231960..daf0437 100644
@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "hw/devices.h"
 #include "ui/pixel_ops.h"
hw/display/exynos4210_fimd.c +0 -1
index 728eb21..71435ce 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/sysbus.h"
 #include "ui/console.h"
 #include "ui/pixel_ops.h"
hw/display/jazz_led.c +0 -1
index 09dcdb4..8389e41 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/pixel_ops.h"
 #include "trace.h"
hw/display/qxl.c +0 -1
index 919dc5c..767e4c4 100644
@@ -21,7 +21,6 @@
 #include "qemu/osdep.h"
 #include <zlib.h>
 
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "qemu/queue.h"
 #include "qemu/atomic.h"
hw/display/virtio-gpu-3d.c +0 -1
index fa19294..757ac19 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "trace.h"
 #include "hw/virtio/virtio.h"
hw/display/virtio-gpu.c +0 -1
index ddf3bfb..4bac082 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "ui/console.h"
 #include "trace.h"
hw/dma/etraxfs_dma.c +0 -1
index d5650eb..85783eb 100644
@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "hw/hw.h"
 #include "exec/address-spaces.h"
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 
 #include "hw/cris/etraxfs_dma.h"
hw/dma/omap_dma.c +0 -1
index 700cd6b..1129c8f 100644
@@ -18,7 +18,6 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/arm/omap.h"
 #include "hw/irq.h"
hw/dma/soc_dma.c +0 -1
index 9bb499b..95c9e8b 100644
@@ -18,7 +18,6 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/arm/soc_dma.h"
 
hw/i386/acpi-build.c +0 -1
index 2af5a6b..b575d75 100644
@@ -24,7 +24,6 @@
 #include "qapi/error.h"
 #include "acpi-build.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "qemu/bitmap.h"
 #include "qemu/error-report.h"
 #include "hw/pci/pci.h"
hw/i386/kvm/clock.c +0 -1
index a3b300c..378bf7f 100644
@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
hw/input/virtio-input-host.c +0 -1
index 9e0f46d..7b44b26 100644
@@ -6,7 +6,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/sockets.h"
 
 #include "hw/qdev.h"
hw/intc/exynos4210_gic.c +0 -1
index 4f7e89f..d3af9f0 100644
@@ -22,7 +22,6 @@
 
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
-#include "qemu-common.h"
 #include "hw/irq.h"
 #include "hw/arm/exynos4210.h"
 
hw/isa/lpc_ich9.c +0 -1
index 4e896b2..6b45a8d 100644
@@ -28,7 +28,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "qapi/visitor.h"
 #include "qemu/range.h"
hw/net/allwinner_emac.c +0 -1
index 8059509..16d4b63 100644
@@ -17,7 +17,6 @@
  *
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/sysbus.h"
 #include "net/net.h"
 #include "qemu/fifo8.h"
hw/net/rocker/qmp-norocker.c +0 -1
index 6acbcdb..3b28d7b 100644
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qmp-commands.h"
 #include "qapi/qmp/qerror.h"
 
hw/net/vmxnet3.c +0 -1
index 093a71e..24851d5 100644
@@ -22,7 +22,6 @@
 #include "net/tap.h"
 #include "net/checksum.h"
 #include "sysemu/sysemu.h"
-#include "qemu-common.h"
 #include "qemu/bswap.h"
 #include "hw/pci/msix.h"
 #include "hw/pci/msi.h"
hw/net/vmxnet_rx_pkt.c +0 -1
index 21bb46e..0174a52 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include "vmxnet_rx_pkt.h"
 #include "net/eth.h"
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "net/checksum.h"
 #include "net/tap.h"
hw/net/vmxnet_tx_pkt.c +0 -1
index 91e1e08..5ae09f3 100644
@@ -19,7 +19,6 @@
 #include "hw/hw.h"
 #include "vmxnet_tx_pkt.h"
 #include "net/eth.h"
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "net/checksum.h"
 #include "net/tap.h"
hw/pci/msix.c +0 -1
index 6f05ced..537fdba 100644
@@ -15,7 +15,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/pci/msi.h"
 #include "hw/pci/msix.h"
hw/pci/pcie.c +0 -1
index 728386a..9d3ba28 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/pci/pci_bridge.h"
 #include "hw/pci/pcie.h"
 #include "hw/pci/msix.h"
hw/pci/shpc.c +0 -1
index 3dcd472..998839a 100644
@@ -1,6 +1,5 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/range.h"
 #include "qemu/error-report.h"
 #include "hw/pci/shpc.h"
hw/pcmcia/pcmcia.c +0 -1
index 1956721..594b37c 100644
@@ -5,7 +5,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/pcmcia.h"
 
hw/ppc/e500plat.c +0 -1
index b00565c..4c72edc 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "e500.h"
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
hw/ppc/mpc8544ds.c +0 -1
index 27b8289..57ebc88 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "e500.h"
 #include "hw/boards.h"
 #include "sysemu/device_tree.h"
hw/scsi/scsi-generic.c +0 -1
index 7459465..cba5047 100644
@@ -13,7 +13,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "hw/scsi/scsi.h"
 #include "sysemu/block-backend.h"
hw/timer/arm_timer.c +0 -1
index f1ede5f..0e2fc83 100644
@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "qemu-common.h"
 #include "hw/qdev.h"
 #include "hw/ptimer.h"
 #include "qemu/main-loop.h"
hw/timer/exynos4210_mct.c +0 -1
index ae69345..263d298 100644
@@ -56,7 +56,6 @@
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
 #include "qemu/main-loop.h"
-#include "qemu-common.h"
 #include "hw/ptimer.h"
 
 #include "hw/arm/exynos4210.h"
hw/timer/exynos4210_pwm.c +0 -1
index 0e9e2e9..ad24b15 100644
@@ -23,7 +23,6 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "qemu/timer.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "hw/ptimer.h"
 
hw/tpm/tpm_passthrough.c +0 -1
index e98efb7..c36358c 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/sockets.h"
 #include "sysemu/tpm_backend.h"
hw/tpm/tpm_tis.c +0 -1
index 381e726..c300513 100644
@@ -32,7 +32,6 @@
 #include "hw/pci/pci_ids.h"
 #include "tpm_tis.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "sysemu/tpm_backend.h"
 
hw/unicore32/puv3.c +0 -1
index d2933cb..f5554a9 100644
@@ -11,7 +11,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "elf.h"
 #include "exec/address-spaces.h"
hw/usb/combined-packet.c +0 -1
index 48cac87..05ee9b0 100644
@@ -20,7 +20,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/usb.h"
 #include "qemu/iov.h"
 #include "trace.h"
hw/usb/core.c +0 -1
index 45fa00c..10d19d1 100644
@@ -24,7 +24,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/usb.h"
 #include "qemu/iov.h"
 #include "trace.h"
hw/usb/dev-audio.c +0 -1
index 87cab0a..81fa91d 100644
@@ -30,7 +30,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
 #include "hw/hw.h"
hw/usb/dev-bluetooth.c +0 -1
index 91a4a0b..aa7314e 100644
@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
hw/usb/dev-hub.c +0 -1
index a33f21c..49b5c8b 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "trace.h"
 #include "hw/usb.h"
 #include "hw/usb/desc.h"
hw/usb/dev-mtp.c +0 -1
index 0be4135..52389dc 100644
@@ -20,7 +20,6 @@
 #include "qemu/main-loop.h"
 #endif
 
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "trace.h"
 #include "hw/usb.h"
hw/usb/dev-uas.c +0 -1
index 0678b1b..3b7ea80 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/option.h"
 #include "qemu/config-file.h"
 #include "trace.h"
hw/usb/hcd-musb.c +0 -1
index cd23197..80efe50 100644
@@ -21,7 +21,6 @@
  * Only host-mode and non-DMA accesses are currently supported.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
 #include "hw/irq.h"
hw/usb/host-legacy.c +0 -1
index 3b57e21..4a30f6e 100644
@@ -31,7 +31,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/usb.h"
 #include "hw/usb/host.h"
 
hw/usb/host-libusb.c +0 -1
index 6458a94..6229618 100644
@@ -38,7 +38,6 @@
 #include <libusb.h>
 
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 #include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
hw/usb/host-stub.c +0 -1
index 6ba65a1..210e060 100644
@@ -31,7 +31,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "hw/usb.h"
 #include "monitor/monitor.h"
hw/usb/libhw.c +0 -1
index 73cdf0c..adbee2f 100644
@@ -20,7 +20,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "hw/usb.h"
 #include "sysemu/dma.h"
hw/usb/tusb6010.c +0 -1
index 9f6af90..e377057 100644
@@ -19,7 +19,6 @@
  * with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
 #include "hw/arm/omap.h"
hw/virtio/virtio-balloon.c +0 -1
index e9c30e9..940c0ca 100644
@@ -16,7 +16,6 @@
 #include "qemu/osdep.h"
 #include "qemu/iov.h"
 #include "qemu/timer.h"
-#include "qemu-common.h"
 #include "hw/virtio/virtio.h"
 #include "hw/i386/pc.h"
 #include "cpu.h"
hw/watchdog/wdt_i6300esb.c +0 -1
index a83d951..3846592 100644
@@ -21,7 +21,6 @@
 
 #include "qemu/osdep.h"
 
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "sysemu/watchdog.h"
 #include "hw/hw.h"
hw/watchdog/wdt_ib700.c +0 -1
index 532530b..0488648 100644
@@ -20,7 +20,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "sysemu/watchdog.h"
 #include "hw/hw.h"
iohandler.c +0 -1
index 3f23433..5bd79f8 100644
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/queue.h"
 #include "block/aio.h"
 #include "qemu/main-loop.h"
kvm-stub.c +0 -1
index b962b24..c623417 100644
@@ -11,7 +11,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/hw.h"
 #include "cpu.h"
 #include "sysemu/kvm.h"
linux-user/mmap.c +0 -1
index 3519147..17d5b17 100644
@@ -22,7 +22,6 @@
 #include <linux/unistd.h>
 
 #include "qemu.h"
-#include "qemu-common.h"
 #include "translate-all.h"
 
 //#define DEBUG_MMAP
linux-user/signal.c +0 -1
index 96e86c0..fa13d49 100644
@@ -21,7 +21,6 @@
 #include <sys/resource.h>
 
 #include "qemu.h"
-#include "qemu-common.h"
 #include "target_signal.h"
 #include "trace.h"
 
memory_mapping.c +0 -1
index 2354b2b..4e9b305 100644
@@ -15,7 +15,6 @@
 #include "qapi/error.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/memory_mapping.h"
 #include "exec/memory.h"
migration/exec.c +0 -1
index 5594209..a213dba 100644
@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/sockets.h"
 #include "qemu/main-loop.h"
 #include "migration/migration.h"
migration/fd.c +0 -1
index 3d788bb..5384275 100644
@@ -15,7 +15,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 #include "qemu/sockets.h"
 #include "migration/migration.h"
migration/postcopy-ram.c +0 -1
index fbd0064..b1f0fc7 100644
@@ -19,7 +19,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "migration/migration.h"
 #include "migration/postcopy-ram.h"
 #include "sysemu/sysemu.h"
migration/qemu-file-buf.c +0 -1
index 7b8e78e..67e5d78 100644
@@ -26,7 +26,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/iov.h"
 #include "qemu/sockets.h"
migration/qemu-file-stdio.c +0 -1
index f402e8f..a9a8929 100644
@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/coroutine.h"
 #include "migration/qemu-file.h"
 
migration/qemu-file.c +0 -1
index 6f4a129..b80a1dd 100644
@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include <zlib.h>
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/iov.h"
 #include "qemu/sockets.h"
migration/tcp.c +0 -1
index e1fa7f8..eeddbdc 100644
@@ -15,7 +15,6 @@
 
 #include "qemu/osdep.h"
 
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/sockets.h"
 #include "migration/migration.h"
migration/unix.c +0 -1
index d9aac36..986a0ad 100644
@@ -15,7 +15,6 @@
 
 #include "qemu/osdep.h"
 
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/sockets.h"
 #include "qemu/main-loop.h"
migration/vmstate.c +0 -1
index bf3d5db..3c1f7aa 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "migration/migration.h"
 #include "migration/qemu-file.h"
 #include "migration/vmstate.h"
net/checksum.c +0 -1
index d0fa424..689a584 100644
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "net/checksum.h"
 
 #define PROTO_TCP  6
net/eth.c +0 -1
index 7e32d27..8301e4c 100644
@@ -18,7 +18,6 @@
 #include "qemu/osdep.h"
 #include "net/eth.h"
 #include "net/checksum.h"
-#include "qemu-common.h"
 #include "net/tap.h"
 
 void eth_setup_vlan_headers(struct eth_header *ehdr, uint16_t vlan_tag,
net/l2tpv3.c +0 -1
index 824161c..d50de5b 100644
@@ -28,7 +28,6 @@
 #include <netdb.h>
 #include "net/net.h"
 #include "clients.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/option.h"
 #include "qemu/sockets.h"
net/tap-bsd.c +0 -1
index 83de19a..b6503b5 100644
@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "tap_int.h"
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 #include "qemu/error-report.h"
 
net/tap-win32.c +0 -1
index 38bbac0..db591bc 100644
@@ -29,7 +29,6 @@
 #include "qemu/osdep.h"
 #include "tap_int.h"
 
-#include "qemu-common.h"
 #include "clients.h"            /* net_init_tap */
 #include "net/net.h"
 #include "net/tap.h"            /* tap_has_ufo, ... */
net/vde.c +0 -1
index 973faf5..0498ed7 100644
@@ -27,7 +27,6 @@
 
 #include "net/net.h"
 #include "clients.h"
-#include "qemu-common.h"
 #include "qemu/option.h"
 #include "qemu/main-loop.h"
 
qapi/qapi-dealloc-visitor.c +0 -1
index 6922179..590be89 100644
@@ -15,7 +15,6 @@
 #include "qemu/osdep.h"
 #include "qapi/dealloc-visitor.h"
 #include "qemu/queue.h"
-#include "qemu-common.h"
 #include "qapi/qmp/types.h"
 #include "qapi/visitor-impl.h"
 
qapi/qapi-util.c +0 -1
index 818730a..8803bed 100644
@@ -12,7 +12,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qapi/util.h"
 
 int qapi_enum_parse(const char * const lookup[], const char *buf,
qapi/qapi-visit-core.c +0 -1
index fa680c9..60ee5cf 100644
@@ -14,7 +14,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qapi/qmp/qobject.h"
 #include "qapi/qmp/qerror.h"
 #include "qapi/visitor.h"
qapi/qmp-event.c +0 -1
index 8bba165..1e99af8 100644
@@ -13,7 +13,6 @@
 
 #include "qemu/osdep.h"
 
-#include "qemu-common.h"
 #include "qapi/qmp-event.h"
 #include "qapi/qmp/qstring.h"
 #include "qapi/qmp/qjson.h"
qapi/qmp-input-visitor.c +0 -1
index 7cd1b77..b83bc53 100644
@@ -17,7 +17,6 @@
 #include "qapi/qmp-input-visitor.h"
 #include "qapi/visitor-impl.h"
 #include "qemu/queue.h"
-#include "qemu-common.h"
 #include "qapi/qmp/types.h"
 #include "qapi/qmp/qerror.h"
 
qapi/qmp-output-visitor.c +0 -1
index d44c676..257ccc1 100644
@@ -16,7 +16,6 @@
 #include "qapi/qmp-output-visitor.h"
 #include "qapi/visitor-impl.h"
 #include "qemu/queue.h"
-#include "qemu-common.h"
 #include "qapi/qmp/types.h"
 
 typedef struct QStackEntry
qapi/string-input-visitor.c +0 -1
index ab12953..0a46c19 100644
@@ -12,7 +12,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qapi/string-input-visitor.h"
 #include "qapi/visitor-impl.h"
 #include "qapi/qmp/qerror.h"
qapi/string-output-visitor.c +0 -1
index c2e5c5b..f4183fe 100644
@@ -11,7 +11,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/string-output-visitor.h"
 #include "qapi/visitor-impl.h"
 #include "qemu/host-utils.h"
qobject/json-lexer.c +0 -1
index 496374d..b21ce88 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/qmp/json-lexer.h"
 
 #define MAX_TOKEN_SIZE (64ULL << 20)
qobject/json-streamer.c +0 -1
index 0251685..a3ebe15 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/qmp/json-lexer.h"
 #include "qapi/qmp/json-streamer.h"
 
qobject/qbool.c +0 -1
index 0606bbd..0f67462 100644
@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qobject.h"
-#include "qemu-common.h"
 
 /**
  * qbool_from_bool(): Create a new QBool from a bool
qobject/qfloat.c +0 -1
index d5da847..3fa0177 100644
@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include "qapi/qmp/qfloat.h"
 #include "qapi/qmp/qobject.h"
-#include "qemu-common.h"
 
 /**
  * qfloat_from_int(): Create a new QFloat from a float
qobject/qint.c +0 -1
index d7d1b30..fd2ed36 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include "qapi/qmp/qint.h"
 #include "qapi/qmp/qobject.h"
-#include "qemu-common.h"
 
 /**
  * qint_from_int(): Create a new QInt from an int64_t
qobject/qlist.c +0 -1
index 1ec74de..226cd32 100644
@@ -14,7 +14,6 @@
 #include "qapi/qmp/qlist.h"
 #include "qapi/qmp/qobject.h"
 #include "qemu/queue.h"
-#include "qemu-common.h"
 
 /**
  * qlist_new(): Create a new QList
qobject/qnull.c +0 -1
index c124d05..979722c 100644
@@ -11,7 +11,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/qmp/qobject.h"
 
 QObject qnull_ = {
qobject/qobject.c +0 -1
index cd41fb9..5d51e1a 100644
@@ -8,7 +8,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qfloat.h"
qobject/qstring.c +0 -1
index 5da7b5f..fa8dd05 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include "qapi/qmp/qobject.h"
 #include "qapi/qmp/qstring.h"
-#include "qemu-common.h"
 
 /**
  * qstring_new(): Create a new empty QString
qom/qom-qobject.c +0 -1
index e6b17c1..5102ff9 100644
@@ -11,7 +11,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qom/object.h"
 #include "qom/qom-qobject.h"
 #include "qapi/visitor.h"
replay/replay-events.c +0 -1
index 2628109..3cbfe46 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "sysemu/replay.h"
 #include "replay-internal.h"
replay/replay-input.c +0 -1
index 43afc78..3dfeeb8 100644
@@ -11,7 +11,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "sysemu/replay.h"
 #include "replay-internal.h"
 #include "qemu/notify.h"
replay/replay-internal.c +0 -1
index 5835e8d..edc6dd1 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/replay.h"
 #include "replay-internal.h"
 #include "qemu/error-report.h"
replay/replay-time.c +0 -1
index fffe072..5f0e444 100644
@@ -10,7 +10,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/replay.h"
 #include "replay-internal.h"
 #include "qemu/error-report.h"
stubs/arch-query-cpu-def.c +0 -1
index cefe4be..d506d54 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/arch_init.h"
 #include "qapi/qmp/qerror.h"
 
stubs/bdrv-commit-all.c +0 -1
index bf84a1d..41318da 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block.h"
 
 int bdrv_commit_all(void)
stubs/clock-warp.c +0 -1
index 5ae32b9..e7496e3 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 
 void qemu_clock_warp(QEMUClockType type)
stubs/cpu-get-clock.c +0 -1
index 1d07523..5a92810 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 
 int64_t cpu_get_clock(void)
stubs/cpu-get-icount.c +0 -1
index 3a6f2ab..65f92b7 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 
 int use_icount;
stubs/cpus.c +0 -1
index e192722..b414b5a 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qom/cpu.h"
 
 void cpu_resume(CPUState *cpu)
stubs/dump.c +0 -1
index d9ee23f..a7bbdd1 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/dump-arch.h"
 #include "qmp-commands.h"
 
stubs/fd-register.c +0 -1
index f91aa34..63a4abd 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 
 void qemu_fd_register(int fd)
stubs/fdset-add-fd.c +0 -1
index bf9e60a..78d0b0b 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd)
stubs/fdset-find-fd.c +0 -1
index 1d9caf3..0c6ff73 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 int monitor_fdset_dup_fd_find(int dup_fd)
stubs/fdset-get-fd.c +0 -1
index 5325044..82ed37b 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 int monitor_fdset_get_fd(int64_t fdset_id, int flags)
stubs/fdset-remove-fd.c +0 -1
index 47ea297..4046a5c 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 void monitor_fdset_dup_fd_remove(int dupfd)
stubs/get-fd.c +0 -1
index 7dfdfb5..cbec2f3 100644
@@ -1,6 +1,5 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
stubs/get-next-serial.c +0 -1
index 6ff6a6d..b2b5f74 100644
@@ -1,4 +1,3 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 CharDriverState *serial_hds[0];
stubs/iothread-lock.c +0 -1
index 9b6db2e..853ee23 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 
 bool qemu_mutex_iothread_locked(void)
stubs/is-daemonized.c +0 -1
index d5cd1dc..8f63325 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 /* Win32 has its own inline stub */
 #ifndef _WIN32
stubs/kvm.c +0 -1
index ddd6204..bc22625 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/kvm.h"
 
 int kvm_arch_irqchip_create(MachineState *ms, KVMState *s)
stubs/machine-init-done.c +0 -1
index 9a0d625..d164ecc 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 
 void qemu_add_machine_init_done_notifier(Notifier *notify)
stubs/migr-blocker.c +0 -1
index 8ab3604..98f44e6 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "migration/migration.h"
 
 void migrate_add_blocker(Error *reason)
stubs/mon-is-qmp.c +0 -1
index a8344ce..34ac5e5 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 Monitor *cur_mon;
stubs/mon-printf.c +0 -1
index e7c1e0c..7968e0f 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 void monitor_printf(Monitor *mon, const char *fmt, ...)
stubs/monitor-init.c +0 -1
index de1bc7c..f2e37c0 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "monitor/monitor.h"
 
 void monitor_init(CharDriverState *chr, int flags)
stubs/notify-event.c +0 -1
index 14e5226..827bb52 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 
 void qemu_notify_event(void)
stubs/set-fd-handler.c +0 -1
index 26965de..bff7e0a 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/main-loop.h"
 
 void qemu_set_fd_handler(int fd,
stubs/slirp.c +0 -1
index dcae51f..f6fecc7 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "slirp/slirp.h"
 
 void slirp_pollfds_fill(GArray *pollfds, uint32_t *timeout)
stubs/uuid.c +0 -1
index 92ad717..d44d02a 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 #include "qmp-commands.h"
 
stubs/vm-stop.c +0 -1
index 8271cad..68e5f20 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 
 void qemu_system_vmstop_request_prepare(void)
stubs/vmstate.c +0 -1
index 6590627..f6c8e3f 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "migration/vmstate.h"
 
 const VMStateDescription vmstate_dummy = {};
target-arm/kvm-stub.c +0 -1
index 38bf433..34528b4 100644
@@ -10,7 +10,6 @@
  *
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "kvm_arm.h"
 
 bool write_kvmstate_to_list(ARMCPU *cpu)
target-arm/kvm.c +0 -1
index 969ab0b..c4f0b20 100644
@@ -14,7 +14,6 @@
 
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "qemu/error-report.h"
 #include "sysemu/sysemu.h"
target-arm/kvm32.c +0 -1
index d44a7f9..806d967 100644
@@ -14,7 +14,6 @@
 
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm.h"
target-arm/kvm64.c +0 -1
index e8527bf..9a0ab34 100644
@@ -17,7 +17,6 @@
 #include <linux/elf.h>
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "qemu/error-report.h"
 #include "qemu/host-utils.h"
target-i386/kvm-stub.c +0 -1
index 8df9c59..da3742c 100644
@@ -10,7 +10,6 @@
  *
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "kvm_i386.h"
 
 bool kvm_allows_irq0_override(void)
target-i386/kvm.c +0 -1
index 940b494..de7fd7b 100644
@@ -21,7 +21,6 @@
 #include <linux/kvm.h>
 #include <linux/kvm_para.h>
 
-#include "qemu-common.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/kvm_int.h"
 #include "kvm_i386.h"
target-m68k/m68k-semi.c +0 -1
index f360ef3..e7d94c5 100644
@@ -24,7 +24,6 @@
 #include "qemu.h"
 #define SEMIHOSTING_HEAP_SIZE (128 * 1024 * 1024)
 #else
-#include "qemu-common.h"
 #include "exec/gdbstub.h"
 #include "exec/softmmu-semi.h"
 #endif
target-mips/kvm.c +0 -1
index 950bc05..1f37312 100644
@@ -15,7 +15,6 @@
 
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
target-openrisc/interrupt.c +0 -1
index 963eb14..bac8f25 100644
@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include "cpu.h"
-#include "qemu-common.h"
 #include "exec/gdbstub.h"
 #include "qemu/host-utils.h"
 #ifndef CONFIG_USER_ONLY
target-openrisc/mmu.c +0 -1
index 4ab414a..2f14e8c 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include "cpu.h"
-#include "qemu-common.h"
 #include "exec/gdbstub.h"
 #include "qemu/host-utils.h"
 #ifndef CONFIG_USER_ONLY
target-openrisc/translate.c +0 -1
index 5d0ab44..6085d39 100644
@@ -23,7 +23,6 @@
 #include "exec/exec-all.h"
 #include "disas/disas.h"
 #include "tcg-op.h"
-#include "qemu-common.h"
 #include "qemu/log.h"
 #include "qemu/bitops.h"
 #include "exec/cpu_ldst.h"
target-ppc/kvm-stub.c +0 -1
index 627bcb4..85ed3a6 100644
@@ -10,7 +10,6 @@
  *
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/ppc/openpic.h"
 
 int kvm_openpic_connect_vcpu(DeviceState *d, CPUState *cs)
target-ppc/kvm.c +0 -1
index d67c169..9959f06 100644
@@ -22,7 +22,6 @@
 
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
target-s390x/kvm.c +0 -1
index e1859ca..fafdb7d 100644
@@ -28,7 +28,6 @@
 #include <linux/kvm.h>
 #include <asm/ptrace.h>
 
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/timer.h"
 #include "sysemu/sysemu.h"
target-tilegx/helper.c +0 -1
index 616c5c7..2ab94e1 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include "cpu.h"
-#include "qemu-common.h"
 #include "exec/helper-proto.h"
 #include <zlib.h> /* For crc32 */
 #include "syscall_defs.h"
target-tilegx/simd_helper.c +0 -1
index 2d40ddb..0fdfad2 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include "cpu.h"
-#include "qemu-common.h"
 #include "exec/helper-proto.h"
 
 
target-xtensa/core-dc233c.c +0 -1
index 40475e5..45eb3a2 100644
@@ -29,7 +29,6 @@
 #include "cpu.h"
 #include "exec/exec-all.h"
 #include "exec/gdbstub.h"
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 
 #include "core-dc233c/core-isa.h"
tcg/optimize.c +0 -1
index 6d68f57..3fb2477 100644
@@ -26,7 +26,6 @@
 #include "qemu/osdep.h"
 
 
-#include "qemu-common.h"
 #include "tcg-op.h"
 
 #define CASE_OP_32_64(x)                        \
tci.c +0 -1
index 7cbb39e..fd10d7f 100644
@@ -24,7 +24,6 @@
 # define NDEBUG
 #endif
 
-#include "qemu-common.h"
 #include "exec/exec-all.h"           /* MAX_OPC_PARAM_IARGS */
 #include "exec/cpu_ldst.h"
 #include "tcg-op.h"
tests/ahci-test.c +0 -1
index 6869f7f..20d1d23 100644
@@ -31,7 +31,6 @@
 #include "libqos/ahci.h"
 #include "libqos/pci-pc.h"
 
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 
 #include "hw/pci/pci_ids.h"
tests/boot-sector.c +0 -1
index 3ffe298..6cefca9 100644
@@ -12,7 +12,6 @@
  */
 #include "qemu/osdep.h"
 #include "boot-sector.h"
-#include "qemu-common.h"
 #include "libqtest.h"
 
 #define LOW(x) ((x) & 0xff)
tests/check-qdict.c +0 -1
index a43056c..88af30f 100644
@@ -15,7 +15,6 @@
 #include "qapi/qmp/qint.h"
 #include "qapi/qmp/qdict.h"
 #include "qapi/qmp/qstring.h"
-#include "qemu-common.h"
 
 /*
  * Public Interface test-cases
tests/check-qfloat.c +0 -1
index 3102608..f0b825d 100644
@@ -14,7 +14,6 @@
 #include <glib.h>
 
 #include "qapi/qmp/qfloat.h"
-#include "qemu-common.h"
 
 /*
  * Public Interface test-cases
tests/check-qint.c +0 -1
index c86f7df..fc77f44 100644
@@ -13,7 +13,6 @@
 #include <glib.h>
 
 #include "qapi/qmp/qint.h"
-#include "qemu-common.h"
 
 /*
  * Public Interface test-cases
tests/check-qjson.c +0 -1
index 99de6f5..e4b1c15 100644
@@ -21,7 +21,6 @@
 #include "qapi/qmp/qbool.h"
 #include "qapi/qmp/qjson.h"
 
-#include "qemu-common.h"
 
 static void escaped_string(void)
 {
tests/check-qstring.c +0 -1
index 9877b42..5a24a7e 100644
@@ -13,7 +13,6 @@
 #include <glib.h>
 
 #include "qapi/qmp/qstring.h"
-#include "qemu-common.h"
 
 /*
  * Public Interface test-cases
tests/device-introspect-test.c +0 -1
index 4477926..65f8d30 100644
@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "qapi/qmp/qstring.h"
 #include "libqtest.h"
 
tests/fdc-test.c +0 -1
index 53df1d0..634bdf0 100644
@@ -27,7 +27,6 @@
 #include <glib.h>
 
 #include "libqtest.h"
-#include "qemu-common.h"
 
 #define TEST_IMAGE_SIZE 1440 * 1024
 
tests/hd-geo-test.c +0 -1
index c8e669a..ddc40ef 100644
@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "libqtest.h"
 
 static char *create_test_img(int secs)
tests/ipmi-bt-test.c +0 -1
index 812907f..c574957 100644
@@ -32,7 +32,6 @@
 #include <glib.h>
 
 #include "libqtest.h"
-#include "qemu-common.h"
 
 #define IPMI_IRQ        5
 
tests/libqos/ahci.c +0 -1
index ac6c155..f16c9f9 100644
@@ -29,7 +29,6 @@
 #include "libqos/ahci.h"
 #include "libqos/pci-pc.h"
 
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 
 #include "hw/pci/pci_ids.h"
tests/libqos/malloc-pc.c +0 -1
index eee706b..d4ebfb3 100644
@@ -16,7 +16,6 @@
 
 #include "hw/nvram/fw_cfg_keys.h"
 
-#include "qemu-common.h"
 #include <glib.h>
 
 #define PAGE_SIZE (4096)
tests/libqos/pci-pc.c +0 -1
index 08167c0..ac976d5 100644
@@ -16,7 +16,6 @@
 
 #include "hw/pci/pci_regs.h"
 
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 
 #include <glib.h>
tests/pc-cpu-test.c +0 -1
index 6b34ca5..cc0ce31 100644
@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "libqtest.h"
 #include "qapi/qmp/types.h"
 
tests/pxe-test.c +0 -1
index 875e4c4..7d2086e 100644
@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 #include <glib/gstdio.h>
-#include "qemu-common.h"
 #include "libqtest.h"
 #include "boot-sector.h"
 
tests/rtl8139-test.c +0 -1
index 54e5aa7..591bdb1 100644
@@ -12,7 +12,6 @@
 #include "libqtest.h"
 #include "libqos/pci-pc.h"
 #include "qemu/timer.h"
-#include "qemu-common.h"
 
 /* Tests only initialization so far. TODO: Replace with functional tests */
 static void nop(void)
tests/test-iov.c +0 -1
index 3f25268..197fd4b 100644
@@ -1,6 +1,5 @@
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "qemu/iov.h"
 #include "qemu/sockets.h"
 
tests/test-qmp-commands.c +0 -1
index d6171f2..e8696ef 100644
@@ -1,6 +1,5 @@
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "qapi/qmp/types.h"
 #include "test-qmp-commands.h"
 #include "qapi/qmp/dispatch.h"
tests/test-qmp-event.c +0 -1
index a296fdb..776cb7d 100644
@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "test-qapi-types.h"
 #include "test-qapi-visit.h"
 #include "test-qapi-event.h"
tests/test-qmp-input-strict.c +0 -1
index d71727e..3d524db 100644
@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/qmp-input-visitor.h"
 #include "test-qapi-types.h"
tests/test-qmp-input-visitor.c +0 -1
index dd247ea..fd80f39 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/qmp-input-visitor.h"
 #include "test-qapi-types.h"
tests/test-qmp-output-visitor.c +0 -1
index f211b21..738c527 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/qmp-output-visitor.h"
 #include "test-qapi-types.h"
tests/test-string-input-visitor.c +0 -1
index 9e6906a..0f701b4 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/string-input-visitor.h"
 #include "test-qapi-types.h"
tests/test-string-output-visitor.c +0 -1
index 1ecd75b..3f21050 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/string-output-visitor.h"
 #include "test-qapi-types.h"
tests/test-thread-pool.c +0 -1
index 88dc731..09f6e60 100644
@@ -1,6 +1,5 @@
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "block/aio.h"
 #include "block/thread-pool.h"
 #include "block/block.h"
tests/test-visitor-serialization.c +0 -1
index 9adbc30..b64a2b2 100644
@@ -15,7 +15,6 @@
 #include <glib.h>
 #include <float.h>
 
-#include "qemu-common.h"
 #include "test-qapi-types.h"
 #include "test-qapi-visit.h"
 #include "qapi/error.h"
tests/test-vmstate.c +0 -1
index 713d444..c13a67b 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 
-#include "qemu-common.h"
 #include "migration/migration.h"
 #include "migration/vmstate.h"
 #include "qemu/coroutine.h"
tests/virtio-9p-test.c +0 -1
index 59d0f1f..fe29019 100644
@@ -10,7 +10,6 @@
 #include "qemu/osdep.h"
 #include <glib.h>
 #include "libqtest.h"
-#include "qemu-common.h"
 
 /* Tests only initialization so far. TODO: Replace with functional tests */
 static void pci_nop(void)
thread-pool.c +0 -1
index 03ba0b0..8258e14 100644
@@ -15,7 +15,6 @@
  * GNU GPL, version 2 or (at your option) any later version.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/queue.h"
 #include "qemu/thread.h"
 #include "qemu/coroutine.h"
ui/console-gl.c +0 -1
index 74b1bed..f8b84ff 100644
@@ -25,7 +25,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/shader.h"
 
ui/curses.c +0 -1
index b475589..12d048d 100644
@@ -29,7 +29,6 @@
 #include <termios.h>
 #endif
 
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "sysemu/sysemu.h"
ui/cursor.c +0 -1
index a276e01..ad5494d 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 
 #include "cursor_hidden.xpm"
ui/egl-context.c +0 -1
index 3a02b68..aa35194 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/egl-context.h"
 
 QEMUGLContext qemu_egl_create_context(DisplayChangeListener *dcl,
ui/gtk-egl.c +0 -1
index 431457c..cdb338c 100644
@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #include "trace.h"
 
ui/gtk-gl-area.c +0 -1
index b86ff3c..32b4077 100644
@@ -8,7 +8,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #include "trace.h"
 
ui/qemu-pixman.c +0 -1
index c9f8dce..285141b 100644
@@ -4,7 +4,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 
 PixelFormat qemu_pixelformat_from_pixman(pixman_format_code_t format)
ui/sdl2-2d.c +0 -1
index 9593006..b560932 100644
@@ -24,7 +24,6 @@
 /* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/sdl2.h"
ui/sdl2-gl.c +0 -1
index a324eca..d2b34ca 100644
@@ -26,7 +26,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/sdl2.h"
ui/sdl2-input.c +0 -1
index 6e315ae..67b858d 100644
@@ -24,7 +24,6 @@
 /* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/sdl2.h"
ui/sdl2.c +0 -1
index d042442..65a1f18 100644
@@ -24,7 +24,6 @@
 /* Ported SDL 1.2 code to 2.0 by Dave Airlie. */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "ui/input.h"
 #include "ui/sdl2.h"
ui/shader.c +0 -1
index 9264009..ef53c25 100644
@@ -25,7 +25,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/shader.h"
 
 /* ---------------------------------------------------------------------- */
ui/spice-core.c +0 -1
index a68a665..e538911 100644
@@ -21,7 +21,6 @@
 #include <netdb.h>
 #include "sysemu/sysemu.h"
 
-#include "qemu-common.h"
 #include "ui/qemu-spice.h"
 #include "qemu/error-report.h"
 #include "qemu/thread.h"
ui/spice-display.c +0 -1
index 242ab5f..3c78869 100644
@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/qemu-spice.h"
 #include "qemu/timer.h"
 #include "qemu/queue.h"
ui/spice-input.c +0 -1
index 8eeebdb..558134f 100644
@@ -20,7 +20,6 @@
 #include <spice.h>
 #include <spice/enums.h>
 
-#include "qemu-common.h"
 #include "ui/qemu-spice.h"
 #include "ui/console.h"
 #include "ui/keymaps.h"
ui/vnc-enc-tight.c +0 -1
index e5cba0e..e92f714 100644
@@ -31,7 +31,6 @@
 /* This needs to be before jpeglib.h line because of conflict with
    INT32 definitions between jmorecfg.h (included by jpeglib.h) and
    Win32 basetsd.h (included by windows.h). */
-#include "qemu-common.h"
 
 #ifdef CONFIG_VNC_PNG
 /* The following define is needed by pngconf.h. Otherwise it won't compile,
ui/x_keymap.c +0 -1
index 2788485..db75d35 100644
@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "x_keymap.h"
 
 static const uint8_t x_keycode_to_pc_keycode[115] = {
util/acl.c +0 -1
index 723b6a8..e02c9e3 100644
@@ -24,7 +24,6 @@
 
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/acl.h"
 
 #ifdef CONFIG_FNMATCH
util/compatfd.c +0 -1
index 9a43042..1cd58eb 100644
@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/compatfd.h"
 #include "qemu/thread.h"
 
util/coroutine-gthread.c +0 -1
index fb697eb..09ce7a8 100644
@@ -20,7 +20,6 @@
 
 #include "qemu/osdep.h"
 #include <glib.h>
-#include "qemu-common.h"
 #include "qemu/coroutine_int.h"
 
 typedef struct {
util/coroutine-sigaltstack.c +0 -1
index 6b8aee7..126791b 100644
@@ -28,7 +28,6 @@
 #include "qemu/osdep.h"
 #include <setjmp.h>
 #include <pthread.h>
-#include "qemu-common.h"
 #include "qemu/coroutine_int.h"
 
 typedef struct {
util/coroutine-ucontext.c +0 -1
index 4914f60..b9f5e6d 100644
@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include <setjmp.h>
 #include <ucontext.h>
-#include "qemu-common.h"
 #include "qemu/coroutine_int.h"
 
 #ifdef CONFIG_VALGRIND_H
util/coroutine-win32.c +0 -1
index 02e28e8..4770dda 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/coroutine_int.h"
 
 typedef struct
util/crc32c.c +0 -1
index 7e99555..762657d 100644
@@ -26,7 +26,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/crc32c.h"
 
 /*
util/envlist.c +0 -1
index e86857e..e4a2d7d 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/queue.h"
 #include "qemu/envlist.h"
 
util/error.c +0 -1
index 35b5882..7102901 100644
@@ -14,7 +14,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 
 struct Error
util/event_notifier-win32.c +0 -1
index 14b4f7d..7ce54b9 100644
@@ -11,7 +11,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/event_notifier.h"
 #include "qemu/main-loop.h"
 
util/fifo8.c +0 -1
index 5c64101..94a362c 100644
@@ -13,7 +13,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/fifo8.h"
 
 void fifo8_create(Fifo8 *fifo, uint32_t capacity)
util/getauxval.c +0 -1
index 0b3bae2..36afdfb 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #ifdef CONFIG_GETAUXVAL
 /* Don't inline this in qemu/osdep.h, because pulling in <sys/auxv.h> for
util/log.c +0 -1
index 8b921de..f718295 100644
@@ -18,7 +18,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/log.h"
 #include "trace/control.h"
 
util/mmap-alloc.c +0 -1
index a4ae464..0d71ba0 100644
@@ -13,7 +13,6 @@
 #include "qemu/osdep.h"
 #include <qemu/mmap-alloc.h>
 #include <sys/mman.h>
-#include "qemu-common.h"
 
 #define HUGETLBFS_MAGIC       0x958458f6
 
util/module.c +0 -1
index ce058ae..22d9a85 100644
@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #ifdef CONFIG_MODULES
 #include <gmodule.h>
 #endif
util/notify.c +0 -1
index 06de63a..aee8d93 100644
@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/notify.h"
 
 void notifier_list_init(NotifierList *list)
util/qemu-config.c +0 -1
index fb97307..71a9079 100644
@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/option.h"
 #include "qemu/config-file.h"
util/qemu-coroutine-lock.c +0 -1
index da37ca7..cb6b931 100644
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/coroutine.h"
 #include "qemu/coroutine_int.h"
 #include "qemu/queue.h"
util/qemu-coroutine.c +0 -1
index 5816702..18d7b67 100644
@@ -14,7 +14,6 @@
 
 #include "qemu/osdep.h"
 #include "trace.h"
-#include "qemu-common.h"
 #include "qemu/thread.h"
 #include "qemu/atomic.h"
 #include "qemu/coroutine.h"
util/qemu-thread-win32.c +0 -1
index 98a5ddf..5ef73aa 100644
@@ -11,7 +11,6 @@
  *
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/thread.h"
 #include "qemu/notify.h"
 #include <process.h>
util/rcu.c +0 -1
index bceb3e4..f010b41 100644
@@ -27,7 +27,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/rcu.h"
 #include "qemu/atomic.h"
 #include "qemu/thread.h"
Signature · 1 line
2.4.3
#29 lore raw
In reply to Markus Armbruster
Quoted 10 lines · Markus Armbruster

This series tackles two issues:

* qapi/error.h and therefore qapi-types.h get included into every file via qemu/osdep.h. Touch the QAPI schema, recompile the world. As the QAPI maintainer, I get to touch it regularly, so this is an itch I need to scratch. PATCH 01-04 drop qapi/error.h from qemu/osdep.h. Unfortunately, the number of .o depending on qapi-types.h barely changes, because it gets included by so many other headers. More work is needed here.

Quoted 6 lines

* qemu-common.h explicitly asks not to be included in headers, but we do it anyway. PATCH 05-15 clean that up. Cuts the number of .o depending on qemu-common.h from ~95% to ~35%.

For additional motivation, see the "Our use of #include is undisciplined, and what to do about it" thread.

Patches 1-13 and possibly 15 are great.

For patch 14 I am worried that some of the additions of cpu.h make things a bit harder for my series. Any tree that I can pull from to check myself?

Paolo

Quoted 842 lines

Markus Armbruster (15):
include/qemu/osdep.h: Don't include qapi/error.h
Use scripts/clean-includes to drop redundant qemu/typedefs.h include/config.h: Unused, remove
Clean up includes some more
fw_cfg: Split fw_cfg_keys.h off fw_cfg.h include/qemu/iov.h: Don't include qemu-common.h include/hw/hw.h: Don't include qemu-common.h hw/pci/pci.h: Don't include qemu-common.h
Move HOST_LONG_BITS from qemu-common.h to qemu/osdep.h Move QEMU_ALIGN_*() from qemu-common.h to qemu/osdep.h Move ParallelIOArg from qemu-common.h to sysemu/char.h
isa: Move DMA_transfer_handler from qemu-common.h to hw/isa/isa.h include/crypto: Include qapi-types.h instead of qemu-common.h Don't include qemu-common.h in headers
Drop superfluous qemu-common.h inclusions

 aio-posix.c                              |  1 -
 aio-win32.c                              |  1 -
 arch_init.c                              |  2 +
 async.c                                  |  2 +-
 audio/alsaaudio.c                        |  1 -
 audio/audio.c                            |  2 +
 audio/audio_pt_int.c                     |  1 -
 audio/audio_win_int.c                    |  1 -
 audio/coreaudio.c                        |  1 -
 audio/dsoundaudio.c                      |  1 -
 audio/noaudio.c                          |  1 -
 audio/ossaudio.c                         |  1 -
 audio/paaudio.c                          |  1 -
 audio/sdlaudio.c                         |  1 -
 backends/baum.c                          |  2 +-
 backends/hostmem-file.c                  |  1 +
 backends/hostmem-ram.c                   |  3 ++
 backends/hostmem.c                       |  1 +
 backends/rng-egd.c                       |  1 +
 backends/rng-random.c                    |  2 +
 backends/rng.c                           |  2 +
 backends/tpm.c                           |  2 +
 block/archipelago.c                      |  1 -
 block/backup.c                           |  3 +-
 block/blkdebug.c                         |  1 +
 block/blkverify.c                        |  2 +
 block/block-backend.c                    |  1 +
 block/bochs.c                            |  2 +-
 block/cloop.c                            |  2 +-
 block/commit.c                           |  1 +
 block/curl.c                             |  1 +
 block/dmg.c                              |  2 +-
 block/gluster.c                          |  3 ++
 block/io.c                               |  2 +
 block/linux-aio.c                        |  1 -
 block/mirror.c                           |  1 +
 block/nbd-client.h                       |  1 -
 block/nbd.c                              |  2 +
 block/nfs.c                              |  1 -
 block/null.c                             |  2 +
 block/parallels.c                        |  2 +-
 block/qapi.c                             |  1 +
 block/qcow.c                             |  2 +-
 block/qcow2-cache.c                      |  1 -
 block/qcow2-cluster.c                    |  2 +-
 block/qcow2-refcount.c                   |  2 +-
 block/qcow2-snapshot.c                   |  1 +
 block/qed.c                              |  2 +
 block/quorum.c                           |  1 +
 block/raw-aio.h                          |  2 +
 block/raw-posix.c                        |  1 +
 block/raw-win32.c                        |  1 -
 block/raw_bsd.c                          |  2 +
 block/rbd.c                              |  1 +
 block/sheepdog.c                         |  1 +
 block/snapshot.c                         |  1 +
 block/ssh.c                              |  4 +-
 block/stream.c                           |  1 +
 block/throttle-groups.c                  |  1 +
 block/vdi.c                              |  1 +
 block/vhdx-endian.c                      |  1 -
 block/vhdx-log.c                         |  2 +-
 block/vhdx.c                             |  2 +-
 block/vmdk.c                             |  1 +
 block/vpc.c                              |  2 +-
 block/vvfat.c                            |  1 +
 block/win32-aio.c                        |  1 -
 blockdev.c                               |  1 +
 blockjob.c                               |  1 -
 bootdevice.c                             |  1 +
 bsd-user/main.c                          |  1 -
 bsd-user/mmap.c                          |  1 -
 bsd-user/syscall.c                       |  1 -
 bt-vhci.c                                |  1 -
 contrib/ivshmem-client/ivshmem-client.c  |  1 -
 contrib/ivshmem-client/main.c            |  1 -
 contrib/ivshmem-server/main.c            |  1 +
 cpu-exec.c                               |  1 +
 cpus.c                                   |  3 +-
 cputlb.c                                 |  1 +
 crypto/aes.c                             |  1 -
 crypto/cipher.c                          |  1 +
 crypto/hash.c                            |  1 +
 crypto/init.c                            |  1 +
 crypto/secret.c                          |  2 +
 crypto/tlscreds.c                        |  2 +
 crypto/tlscredsanon.c                    |  2 +
 crypto/tlscredsx509.c                    |  2 +
 crypto/tlssession.c                      |  1 +
 device_tree.c                            |  2 +-
 disas.c                                  |  1 -
 disas/cris.c                             |  1 -
 disas/s390.c                             |  1 -
 disas/tci.c                              |  1 -
 exec.c                                   |  1 +
 fsdev/qemu-fsdev.c                       |  1 -
 fsdev/virtfs-proxy-helper.c              |  1 -
 gdbstub.c                                |  1 +
 hmp.c                                    |  1 +
 hmp.h                                    |  1 -
 hw/9pfs/9p-handle.c                      |  1 +
 hw/9pfs/9p-local.c                       |  1 +
 hw/9pfs/9p-proxy.c                       |  1 +
 hw/9pfs/9p-synth.c                       |  1 +
 hw/9pfs/9p.c                             |  1 +
 hw/9pfs/coth.c                           |  1 -
 hw/acpi/bios-linker-loader.c             |  1 -
 hw/acpi/cpu_hotplug.c                    |  1 +
 hw/acpi/ich9.c                           |  1 +
 hw/acpi/pcihp.c                          |  1 +
 hw/acpi/piix4.c                          |  1 +
 hw/acpi/tco.c                            |  1 -
 hw/alpha/dp264.c                         |  1 +
 hw/alpha/typhoon.c                       |  1 +
 hw/arm/allwinner-a10.c                   |  1 +
 hw/arm/armv7m.c                          |  1 +
 hw/arm/bcm2835_peripherals.c             |  1 +
 hw/arm/bcm2836.c                         |  1 +
 hw/arm/boot.c                            |  2 +
 hw/arm/cubieboard.c                      |  1 +
 hw/arm/digic.c                           |  1 +
 hw/arm/digic_boards.c                    |  2 +
 hw/arm/exynos4210.c                      |  1 +
 hw/arm/fsl-imx25.c                       |  1 +
 hw/arm/fsl-imx31.c                       |  1 +
 hw/arm/highbank.c                        |  2 +
 hw/arm/imx25_pdk.c                       |  1 +
 hw/arm/integratorcp.c                    |  1 +
 hw/arm/kzm.c                             |  1 +
 hw/arm/mainstone.c                       |  1 +
 hw/arm/musicpal.c                        |  1 +
 hw/arm/netduino2.c                       |  1 +
 hw/arm/nseries.c                         |  1 +
 hw/arm/omap1.c                           |  2 +
 hw/arm/omap2.c                           |  1 +
 hw/arm/omap_sx1.c                        |  1 +
 hw/arm/palm.c                            |  1 +
 hw/arm/pxa2xx.c                          |  2 +
 hw/arm/raspi.c                           |  1 +
 hw/arm/realview.c                        |  1 +
 hw/arm/spitz.c                           |  1 +
 hw/arm/stellaris.c                       |  1 +
 hw/arm/stm32f205_soc.c                   |  1 +
 hw/arm/strongarm.c                       |  1 +
 hw/arm/sysbus-fdt.c                      |  2 +-
 hw/arm/tosa.c                            |  1 +
 hw/arm/versatilepb.c                     |  1 +
 hw/arm/vexpress.c                        |  2 +
 hw/arm/virt-acpi-build.c                 |  1 +
 hw/arm/virt.c                            |  2 +
 hw/arm/xilinx_zynq.c                     |  1 +
 hw/arm/xlnx-ep108.c                      |  1 +
 hw/arm/xlnx-zynqmp.c                     |  1 +
 hw/audio/adlib.c                         |  1 +
 hw/audio/gus.c                           |  1 +
 hw/block/block.c                         |  1 +
 hw/block/cdrom.c                         |  1 -
 hw/block/dataplane/virtio-blk.c          |  1 +
 hw/block/fdc.c                           |  1 +
 hw/block/nand.c                          |  1 +
 hw/block/nvme.c                          |  2 +
 hw/block/onenand.c                       |  2 +-
 hw/block/pflash_cfi01.c                  |  1 +
 hw/block/pflash_cfi02.c                  |  1 +
 hw/block/virtio-blk.c                    |  2 +-
 hw/block/xen_disk.c                      |  1 +
 hw/bt/core.c                             |  1 -
 hw/bt/hci-csr.c                          |  1 -
 hw/bt/hci.c                              |  1 +
 hw/bt/hid.c                              |  1 -
 hw/bt/l2cap.c                            |  1 -
 hw/char/debugcon.c                       |  1 +
 hw/char/parallel.c                       |  1 +
 hw/char/serial-isa.c                     |  1 +
 hw/char/serial-pci.c                     |  1 +
 hw/char/serial.c                         |  1 +
 hw/char/spapr_vty.c                      |  1 +
 hw/char/virtio-serial-bus.c              |  1 +
 hw/core/fw-path-provider.c               |  1 +
 hw/core/loader.c                         |  2 +
 hw/core/machine.c                        |  2 +
 hw/core/nmi.c                            |  2 +
 hw/core/null-machine.c                   |  1 -
 hw/core/ptimer.c                         |  2 +
 hw/core/qdev-properties-system.c         |  1 +
 hw/core/qdev-properties.c                |  3 ++
 hw/core/qdev.c                           |  1 +
 hw/core/stream.c                         |  1 +
 hw/cpu/a15mpcore.c                       |  1 +
 hw/cpu/a9mpcore.c                        |  1 +
 hw/cpu/arm11mpcore.c                     |  1 +
 hw/cpu/realview_mpcore.c                 |  1 +
 hw/cris/axis_dev88.c                     |  1 +
 hw/display/blizzard.c                    |  1 -
 hw/display/cg3.c                         |  1 +
 hw/display/cirrus_vga.c                  |  1 +
 hw/display/exynos4210_fimd.c             |  1 -
 hw/display/jazz_led.c                    |  1 -
 hw/display/qxl.c                         |  1 -
 hw/display/qxl.h                         |  2 -
 hw/display/sm501.c                       |  1 +
 hw/display/tc6393xb.c                    |  1 +
 hw/display/tcx.c                         |  1 +
 hw/display/vga.c                         |  1 +
 hw/display/virtio-gpu-3d.c               |  1 -
 hw/display/virtio-gpu.c                  |  1 -
 hw/display/vmware_vga.c                  |  1 +
 hw/dma/etraxfs_dma.c                     |  1 -
 hw/dma/i8257.c                           |  2 +-
 hw/dma/omap_dma.c                        |  1 -
 hw/dma/pl330.c                           |  2 +
 hw/dma/soc_dma.c                         |  1 -
 hw/dma/xilinx_axidma.c                   |  1 +
 hw/i386/acpi-build.c                     |  2 +-
 hw/i386/acpi-build.h                     |  2 -
 hw/i386/kvm/clock.c                      |  1 -
 hw/i386/kvm/i8254.c                      |  1 +
 hw/i386/kvm/pci-assign.c                 |  1 +
 hw/i386/pc.c                             |  2 +
 hw/i386/pc_sysfw.c                       |  2 +
 hw/i386/pci-assign-load-rom.c            |  1 +
 hw/i386/xen/xen_platform.c               |  1 +
 hw/i386/xen/xen_pvdevice.c               |  1 +
 hw/ide/core.c                            |  1 +
 hw/ide/qdev.c                            |  1 +
 hw/input/milkymist-softusb.c             |  1 +
 hw/input/virtio-input-host.c             |  2 +-
 hw/input/virtio-input.c                  |  1 +
 hw/intc/apic_common.c                    |  1 +
 hw/intc/arm_gic.c                        |  1 +
 hw/intc/arm_gic_common.c                 |  1 +
 hw/intc/arm_gicv2m.c                     |  1 +
 hw/intc/arm_gicv3_common.c               |  1 +
 hw/intc/armv7m_nvic.c                    |  1 +
 hw/intc/exynos4210_gic.c                 |  1 -
 hw/intc/ioapic_common.c                  |  1 +
 hw/intc/openpic.c                        |  1 +
 hw/intc/realview_gic.c                   |  1 +
 hw/intc/xics.c                           |  1 +
 hw/ipack/ipack.c                         |  1 +
 hw/ipmi/ipmi_bmc_extern.c                |  1 +
 hw/ipmi/isa_ipmi_bt.c                    |  1 +
 hw/ipmi/isa_ipmi_kcs.c                   |  1 +
 hw/isa/isa-bus.c                         |  1 +
 hw/isa/lpc_ich9.c                        |  1 -
 hw/isa/pc87312.c                         |  1 +
 hw/lm32/lm32_boards.c                    |  1 +
 hw/lm32/lm32_hwsetup.h                   |  1 -
 hw/lm32/milkymist.c                      |  1 +
 hw/m68k/an5206.c                         |  1 +
 hw/m68k/mcf5208.c                        |  1 +
 hw/mem/pc-dimm.c                         |  1 +
 hw/microblaze/petalogix_ml605_mmu.c      |  1 +
 hw/microblaze/petalogix_s3adsp1800_mmu.c |  1 +
 hw/mips/mips_fulong2e.c                  |  2 +
 hw/mips/mips_jazz.c                      |  1 +
 hw/mips/mips_malta.c                     |  1 +
 hw/mips/mips_mipssim.c                   |  3 ++
 hw/mips/mips_r4k.c                       |  3 ++
 hw/misc/bcm2835_mbox.c                   |  1 +
 hw/misc/bcm2835_property.c               |  1 +
 hw/misc/cbus.c                           |  2 +-
 hw/misc/ivshmem.c                        |  3 ++
 hw/misc/macio/cuda.c                     |  1 +
 hw/misc/macio/macio.c                    |  1 +
 hw/misc/tmp105.c                         |  1 +
 hw/moxie/moxiesim.c                      |  1 +
 hw/net/dp8393x.c                         |  1 +
 hw/net/milkymist-minimac2.c              |  1 +
 hw/net/ne2000-isa.c                      |  1 +
 hw/net/rocker/qmp-norocker.c             |  1 -
 hw/net/vmxnet3.c                         |  1 -
 hw/net/vmxnet_rx_pkt.c                   |  1 -
 hw/net/vmxnet_rx_pkt.h                   |  2 -
 hw/net/vmxnet_tx_pkt.c                   |  1 -
 hw/net/vmxnet_tx_pkt.h                   |  2 -
 hw/net/xilinx_axienet.c                  |  1 +
 hw/nvram/fw_cfg.c                        |  1 +
 hw/nvram/mac_nvram.c                     |  2 +
 hw/nvram/spapr_nvram.c                   |  1 +
 hw/openrisc/openrisc_sim.c               |  1 +
 hw/pci-bridge/dec.h                      |  2 -
 hw/pci-bridge/pci_bridge_dev.c           |  1 +
 hw/pci-host/piix.c                       |  1 +
 hw/pci-host/prep.c                       |  2 +
 hw/pci-host/q35.c                        |  1 +
 hw/pci/pci.c                             |  2 +
 hw/pci/pcie.c                            |  2 +-
 hw/pci/shpc.c                            |  2 +-
 hw/pcmcia/pcmcia.c                       |  1 -
 hw/ppc/e500.c                            |  1 +
 hw/ppc/e500plat.c                        |  1 -
 hw/ppc/mac_newworld.c                    |  3 ++
 hw/ppc/mac_oldworld.c                    |  3 ++
 hw/ppc/mpc8544ds.c                       |  1 -
 hw/ppc/ppc405_boards.c                   |  3 ++
 hw/ppc/ppc405_uc.c                       |  1 +
 hw/ppc/spapr.c                           |  1 +
 hw/ppc/spapr_drc.c                       |  2 +
 hw/ppc/spapr_events.c                    |  3 ++
 hw/ppc/spapr_hcall.c                     |  1 +
 hw/ppc/spapr_pci.c                       |  1 +
 hw/ppc/spapr_pci_vfio.c                  |  1 +
 hw/ppc/spapr_rng.c                       |  1 +
 hw/ppc/spapr_rtas.c                      |  2 +
 hw/ppc/spapr_rtc.c                       |  2 +
 hw/ppc/spapr_vio.c                       |  1 +
 hw/ppc/virtex_ml507.c                    |  1 +
 hw/s390x/event-facility.c                |  1 +
 hw/s390x/ipl.c                           |  2 +
 hw/s390x/s390-virtio-ccw.c               |  1 +
 hw/s390x/s390-virtio.c                   |  1 +
 hw/s390x/sclp.c                          |  1 +
 hw/s390x/virtio-ccw.c                    |  1 +
 hw/scsi/esp-pci.c                        |  1 +
 hw/scsi/esp.c                            |  1 +
 hw/scsi/megasas.c                        |  1 +
 hw/scsi/scsi-bus.c                       |  2 +
 hw/scsi/scsi-disk.c                      |  1 +
 hw/scsi/scsi-generic.c                   |  2 +-
 hw/scsi/vhost-scsi.c                     |  2 +
 hw/scsi/virtio-scsi-dataplane.c          |  1 -
 hw/scsi/virtio-scsi.c                    |  1 +
 hw/scsi/vmw_pvscsi.c                     |  1 +
 hw/sd/core.c                             |  1 +
 hw/sd/pxa2xx_mmci.c                      |  1 +
 hw/sd/sd.c                               |  1 +
 hw/sh4/r2d.c                             |  1 +
 hw/sh4/shix.c                            |  1 +
 hw/smbios/smbios.c                       |  2 +
 hw/sparc/leon3.c                         |  3 ++
 hw/sparc/sun4m.c                         |  3 ++
 hw/sparc64/sun4u.c                       |  3 ++
 hw/timer/a9gtimer.c                      |  1 +
 hw/timer/arm_mptimer.c                   |  1 +
 hw/timer/arm_timer.c                     |  1 -
 hw/timer/ds1338.c                        |  1 +
 hw/timer/exynos4210_mct.c                |  1 -
 hw/timer/exynos4210_pwm.c                |  1 -
 hw/timer/hpet.c                          |  1 +
 hw/timer/m48t59.c                        |  2 +
 hw/timer/mc146818rtc.c                   |  2 +
 hw/timer/pl031.c                         |  1 +
 hw/timer/twl92230.c                      |  1 +
 hw/tpm/tpm_passthrough.c                 |  1 -
 hw/tpm/tpm_tis.c                         |  2 +-
 hw/tpm/tpm_tis.h                         |  1 -
 hw/tricore/tricore_testboard.c           |  1 +
 hw/unicore32/puv3.c                      |  2 +-
 hw/usb/bus.c                             |  2 +
 hw/usb/ccid-card-passthru.c              |  1 +
 hw/usb/combined-packet.c                 |  1 -
 hw/usb/core.c                            |  1 -
 hw/usb/dev-audio.c                       |  1 -
 hw/usb/dev-bluetooth.c                   |  1 -
 hw/usb/dev-hid.c                         |  1 +
 hw/usb/dev-hub.c                         |  2 +-
 hw/usb/dev-mtp.c                         |  2 +-
 hw/usb/dev-network.c                     |  1 +
 hw/usb/dev-serial.c                      |  1 +
 hw/usb/dev-smartcard-reader.c            |  1 +
 hw/usb/dev-storage.c                     |  1 +
 hw/usb/dev-uas.c                         |  1 -
 hw/usb/hcd-ehci.c                        |  1 +
 hw/usb/hcd-musb.c                        |  1 -
 hw/usb/hcd-ohci.c                        |  1 +
 hw/usb/hcd-uhci.c                        |  1 +
 hw/usb/host-legacy.c                     |  1 -
 hw/usb/host-libusb.c                     |  2 +-
 hw/usb/host-stub.c                       |  1 -
 hw/usb/libhw.c                           |  1 -
 hw/usb/redirect.c                        |  1 +
 hw/usb/tusb6010.c                        |  1 -
 hw/vfio/pci.h                            |  1 -
 hw/vfio/platform.c                       |  1 +
 hw/virtio/vhost-user.c                   |  2 +
 hw/virtio/vhost.c                        |  1 +
 hw/virtio/virtio-balloon.c               |  1 -
 hw/virtio/virtio-pci.c                   |  1 +
 hw/virtio/virtio-rng.c                   |  1 +
 hw/virtio/virtio.c                       |  1 +
 hw/watchdog/wdt_i6300esb.c               |  1 -
 hw/watchdog/wdt_ib700.c                  |  1 -
 hw/xen/xen-host-pci-device.c             |  1 +
 hw/xen/xen_pt.c                          |  1 +
 hw/xen/xen_pt.h                          |  1 -
 hw/xen/xen_pt_config_init.c              |  1 +
 hw/xen/xen_pt_graphics.c                 |  1 +
 hw/xtensa/sim.c                          |  1 +
 hw/xtensa/xtfpga.c                       |  1 +
 include/block/accounting.h               |  2 -
 include/block/aio.h                      |  2 -
 include/block/block.h                    |  2 +-
 include/block/nbd.h                      |  2 -
 include/block/qapi.h                     |  1 +
 include/block/snapshot.h                 |  1 -
 include/block/write-threshold.h          |  4 --
 include/config.h                         |  1 -
 include/crypto/cipher.h                  |  2 +-
 include/crypto/hash.h                    |  2 +-
 include/crypto/init.h                    |  2 -
 include/crypto/secret.h                  |  1 -
 include/crypto/tlscreds.h                |  1 -
 include/disas/bfd.h                      |  2 +-
 include/disas/disas.h                    |  2 -
 include/exec/cpu-all.h                   |  1 -
 include/exec/cpu-common.h                |  1 -
 include/exec/exec-all.h                  |  2 -
 include/exec/ioport.h                    |  1 -
 include/exec/memory.h                    |  1 -
 include/hw/acpi/acpi.h                   |  1 -
 include/hw/acpi/pcihp.h                  |  1 -
 include/hw/acpi/piix4.h                  |  2 -
 include/hw/acpi/tco.h                    |  2 -
 include/hw/arm/allwinner-a10.h           |  1 -
 include/hw/arm/bcm2835_peripherals.h     |  1 -
 include/hw/arm/exynos4210.h              |  1 -
 include/hw/arm/omap.h                    |  1 +
 include/hw/arm/sysbus-fdt.h              |  1 -
 include/hw/arm/virt-acpi-build.h         |  1 -
 include/hw/arm/virt.h                    |  2 +-
 include/hw/arm/xlnx-zynqmp.h             |  1 -
 include/hw/block/block.h                 |  1 -
 include/hw/boards.h                      |  1 -
 include/hw/char/digic-uart.h             |  1 -
 include/hw/fw-path-provider.h            |  1 -
 include/hw/hotplug.h                     |  1 -
 include/hw/hw.h                          |  5 ++-
 include/hw/i386/apic.h                   |  2 +-
 include/hw/i386/pc.h                     |  2 -
 include/hw/ipmi/ipmi.h                   |  1 -
 include/hw/isa/apm.h                     |  1 -
 include/hw/isa/i8257.h                   |  2 +-
 include/hw/isa/isa.h                     |  5 ++-
 include/hw/lm32/lm32_pic.h               |  1 -
 include/hw/nmi.h                         |  1 -
 include/hw/nvram/fw_cfg.h                | 50 +------------------------
 include/hw/nvram/fw_cfg_keys.h           | 46 +++++++++++++++++++++++
 include/hw/pci-host/apb.h                |  1 -
 include/hw/pci-host/pam.h                |  1 -
 include/hw/pci/msi.h                     |  1 -
 include/hw/pci/msix.h                    |  1 -
 include/hw/pci/pci.h                     | 11 +++++-
 include/hw/pci/shpc.h                    |  1 -
 include/hw/pci/slotid_cap.h              |  1 -
 include/hw/ppc/mac_dbdma.h               |  1 +
 include/hw/ppc/openpic.h                 |  1 -
 include/hw/ptimer.h                      |  1 -
 include/hw/qdev-core.h                   |  1 -
 include/hw/scsi/scsi.h                   |  1 -
 include/hw/sd/sdhci.h                    |  1 -
 include/hw/sh4/sh_intc.h                 |  1 -
 include/hw/sparc/sun4m.h                 |  1 -
 include/hw/stream.h                      |  1 -
 include/hw/timer/digic-timer.h           |  1 -
 include/hw/timer/m48t59.h                |  1 -
 include/hw/usb.h                         |  1 +
 include/hw/vfio/vfio-common.h            |  1 -
 include/hw/vfio/vfio.h                   |  2 -
 include/hw/virtio/vhost-scsi.h           |  1 -
 include/hw/xen/xen.h                     |  2 -
 include/io/channel.h                     |  1 -
 include/io/task.h                        |  1 -
 include/migration/migration.h            |  1 -
 include/monitor/monitor.h                |  1 -
 include/monitor/qdev.h                   |  1 -
 include/net/filter.h                     |  2 -
 include/net/net.h                        |  1 -
 include/net/queue.h                      |  2 -
 include/net/slirp.h                      |  1 -
 include/net/tap.h                        |  1 -
 include/qapi/error.h                     |  5 ---
 include/qapi/qmp/json-parser.h           |  1 -
 include/qapi/visitor.h                   |  1 -
 include/qemu-common.h                    | 64 --------------------------------
 include/qemu-io.h                        |  2 -
 include/qemu/base64.h                    |  3 --
 include/qemu/bswap.h                     |  6 +--
 include/qemu/buffer.h                    |  2 -
 include/qemu/coroutine.h                 |  1 -
 include/qemu/crc32c.h                    |  2 -
 include/qemu/event_notifier.h            |  2 -
 include/qemu/iov.h                       | 30 ++++++++++++++-
 include/qemu/mmap-alloc.h                |  2 -
 include/qemu/option.h                    |  1 -
 include/qemu/osdep.h                     | 24 ++++++++++--
 include/qemu/range.h                     |  1 -
 include/qemu/throttle.h                  |  1 -
 include/qemu/timer.h                     |  2 -
 include/qemu/typedefs.h                  |  2 +
 include/qom/cpu.h                        |  1 -
 include/qom/object.h                     |  2 +-
 include/sysemu/accel.h                   |  1 -
 include/sysemu/block-backend.h           |  2 +-
 include/sysemu/char.h                    |  6 ++-
 include/sysemu/cpus.h                    |  2 +
 include/sysemu/kvm.h                     |  4 ++
 include/sysemu/memory_mapping.h          |  1 -
 include/sysemu/qtest.h                   |  2 -
 include/sysemu/replay.h                  |  1 -
 include/sysemu/rng.h                     |  1 -
 include/sysemu/sysemu.h                  |  1 -
 include/sysemu/tpm_backend.h             |  1 -
 include/ui/console.h                     |  1 -
 include/ui/qemu-pixman.h                 |  2 -
 include/ui/qemu-spice.h                  |  1 +
 io/channel-buffer.c                      |  1 +
 io/channel-command.c                     |  2 +
 io/channel-file.c                        |  2 +
 io/channel-socket.c                      |  2 +
 io/channel-tls.c                         |  2 +
 io/channel-util.c                        |  1 +
 io/channel-websock.c                     |  2 +
 io/channel.c                             |  2 +
 io/task.c                                |  1 +
 iohandler.c                              |  2 +-
 ioport.c                                 |  1 +
 kvm-stub.c                               |  1 -
 linux-user/elfload.c                     |  2 +
 linux-user/mmap.c                        |  1 -
 linux-user/signal.c                      |  1 -
 linux-user/uaccess.c                     |  2 +-
 main-loop.c                              |  1 +
 memory.c                                 |  2 +
 memory_mapping.c                         |  2 +-
 migration/block.c                        |  1 +
 migration/exec.c                         |  2 +-
 migration/fd.c                           |  2 +-
 migration/postcopy-ram.c                 |  1 -
 migration/qemu-file-buf.c                |  1 -
 migration/qemu-file-internal.h           |  1 -
 migration/qemu-file-stdio.c              |  1 -
 migration/qemu-file.c                    |  1 -
 migration/ram.c                          |  1 +
 migration/rdma.c                         |  1 +
 migration/tcp.c                          |  1 -
 migration/unix.c                         |  1 -
 migration/vmstate.c                      |  1 -
 monitor.c                                |  2 +
 nbd/client.c                             |  1 +
 nbd/common.c                             |  1 +
 nbd/server.c                             |  1 +
 net/checksum.c                           |  1 -
 net/dump.c                               |  1 +
 net/eth.c                                |  1 -
 net/filter-buffer.c                      |  1 +
 net/filter.c                             |  1 +
 net/hub.h                                |  2 -
 net/l2tpv3.c                             |  1 -
 net/slirp.c                              |  1 +
 net/socket.c                             |  1 +
 net/tap-bsd.c                            |  1 -
 net/tap-linux.c                          |  1 +
 net/tap-win32.c                          |  1 -
 net/tap.c                                |  1 +
 net/tap_int.h                            |  1 -
 net/vde.c                                |  1 -
 os-posix.c                               |  1 +
 pc-bios/optionrom/optionrom.h            |  3 +-
 qapi/opts-visitor.c                      |  1 +
 qapi/qapi-dealloc-visitor.c              |  1 -
 qapi/qapi-util.c                         |  2 +-
 qapi/qapi-visit-core.c                   |  2 +-
 qapi/qmp-dispatch.c                      |  1 +
 qapi/qmp-event.c                         |  1 -
 qapi/qmp-input-visitor.c                 |  2 +-
 qapi/qmp-output-visitor.c                |  1 -
 qapi/string-input-visitor.c              |  2 +-
 qapi/string-output-visitor.c             |  1 -
 qdev-monitor.c                           |  1 +
 qemu-img.c                               |  1 +
 qemu-io-cmds.c                           |  2 +
 qemu-io.c                                |  2 +
 qemu-nbd.c                               |  1 +
 qemu-timer.c                             |  1 +
 qga/channel-posix.c                      |  1 +
 qga/commands-posix.c                     |  1 +
 qga/commands.c                           |  1 +
 qga/guest-agent-core.h                   |  1 -
 qga/main.c                               |  2 +-
 qga/vss-win32/requester.cpp              |  1 -
 qobject/json-lexer.c                     |  1 -
 qobject/json-parser.c                    |  1 +
 qobject/json-streamer.c                  |  1 -
 qobject/qbool.c                          |  1 -
 qobject/qfloat.c                         |  1 -
 qobject/qint.c                           |  1 -
 qobject/qjson.c                          |  1 +
 qobject/qlist.c                          |  1 -
 qobject/qnull.c                          |  1 -
 qobject/qobject.c                        |  1 -
 qobject/qstring.c                        |  1 -
 qom/cpu.c                                |  1 +
 qom/object.c                             |  1 +
 qom/object_interfaces.c                  |  1 +
 qom/qom-qobject.c                        |  2 +-
 qtest.c                                  |  2 +
 replay/replay-events.c                   |  1 -
 replay/replay-input.c                    |  2 +-
 replay/replay-internal.c                 |  1 -
 replay/replay-time.c                     |  1 -
 replay/replay.c                          |  1 +
 scripts/clean-includes                   |  6 +--
 scripts/qapi-types.py                    |  5 ---
 scripts/qapi-visit.py                    |  1 +
 scripts/tracetool/backend/log.py         |  6 +--
 scripts/tracetool/format/events_h.py     |  2 -
 scripts/tracetool/format/h.py            |  3 --
 scripts/tracetool/format/tcg_h.py        |  2 -
 scripts/tracetool/format/ust_events_c.py |  1 -
 scripts/tracetool/format/ust_events_h.py |  1 -
 slirp/ip_icmp.c                          |  1 +
 slirp/libslirp.h                         |  2 -
 slirp/misc.c                             |  2 +-
 slirp/tcp_subr.c                         |  1 +
 spice-qemu-char.c                        |  1 +
 stubs/arch-query-cpu-def.c               |  1 -
 stubs/bdrv-commit-all.c                  |  1 -
 stubs/clock-warp.c                       |  1 -
 stubs/cpu-get-clock.c                    |  1 -
 stubs/cpu-get-icount.c                   |  1 -
 stubs/cpus.c                             |  1 -
 stubs/dump.c                             |  1 -
 stubs/fd-register.c                      |  1 -
 stubs/fdset-add-fd.c                     |  1 -
 stubs/fdset-find-fd.c                    |  1 -
 stubs/fdset-get-fd.c                     |  1 -
 stubs/fdset-remove-fd.c                  |  1 -
 stubs/gdbstub.c                          |  2 -
 stubs/get-fd.c                           |  2 +-
 stubs/get-next-serial.c                  |  1 -
 stubs/iothread-lock.c                    |  1 -
 stubs/is-daemonized.c                    |  1 -
 stubs/kvm.c                              |  1 -
 stubs/machine-init-done.c                |  1 -
 stubs/migr-blocker.c                     |  1 -
 stubs/mon-is-qmp.c                       |  1 -
 stubs/mon-printf.c                       |  1 -
 stubs/monitor-init.c                     |  1 -
 stubs/notify-event.c                     |  1 -
 stubs/set-fd-handler.c                   |  1 -
 stubs/slirp.c                            |  1 -
 stubs/target-get-monitor-def.c           |  2 -
 stubs/target-monitor-defs.c              |  2 -
 stubs/uuid.c                             |  1 -
 stubs/vm-stop.c                          |  1 -
 stubs/vmstate.c                          |  1 -
 target-alpha/cpu.c                       |  1 +
 target-alpha/cpu.h                       |  1 -
 target-alpha/translate.c                 |  1 +
 target-arm/cpu.c                         |  1 +
 target-arm/cpu.h                         |  1 -
 target-arm/cpu64.c                       |  1 +
 target-arm/kvm-stub.c                    |  1 -
 target-arm/kvm.c                         |  1 -
 target-arm/kvm32.c                       |  1 -
 target-arm/kvm64.c                       |  1 -
 target-cris/cpu.c                        |  1 +
 target-cris/cpu.h                        |  1 -
 target-i386/cpu.c                        |  3 +-
 target-i386/cpu.h                        |  1 -
 target-i386/kvm-stub.c                   |  1 -
 target-i386/kvm.c                        |  2 +-
 target-i386/machine.c                    |  1 +
 target-lm32/cpu.c                        |  1 +
 target-lm32/cpu.h                        |  1 -
 target-m68k/cpu.c                        |  1 +
 target-m68k/cpu.h                        |  1 -
 target-m68k/m68k-semi.c                  |  1 -
 target-microblaze/cpu.c                  |  1 +
 target-microblaze/cpu.h                  |  1 -
 target-mips/cpu.c                        |  1 +
 target-mips/cpu.h                        |  1 -
 target-mips/kvm.c                        |  1 -
 target-moxie/cpu.c                       |  1 +
 target-moxie/cpu.h                       |  1 -
 target-openrisc/cpu.c                    |  1 +
 target-openrisc/cpu.h                    |  1 -
 target-openrisc/exception.h              |  1 -
 target-openrisc/interrupt.c              |  1 -
 target-openrisc/mmu.c                    |  1 -
 target-openrisc/translate.c              |  1 -
 target-ppc/cpu-models.c                  |  1 +
 target-ppc/cpu.h                         |  1 -
 target-ppc/kvm-stub.c                    |  1 -
 target-ppc/kvm.c                         |  1 -
 target-ppc/translate_init.c              |  1 +
 target-s390x/cpu.c                       |  1 +
 target-s390x/cpu.h                       |  1 -
 target-s390x/helper.c                    |  2 +
 target-s390x/kvm.c                       |  1 -
 target-s390x/misc_helper.c               |  1 +
 target-sh4/cpu.c                         |  1 +
 target-sh4/cpu.h                         |  1 -
 target-sparc/cpu.c                       |  3 ++
 target-sparc/cpu.h                       |  1 -
 target-tilegx/cpu.c                      |  1 +
 target-tilegx/cpu.h                      |  1 -
 target-tilegx/helper.c                   |  1 -
 target-tilegx/simd_helper.c              |  1 -
 target-tricore/cpu.c                     |  1 +
 target-tricore/cpu.h                     |  1 -
 target-unicore32/cpu.c                   |  1 +
 target-unicore32/cpu.h                   |  1 -
 target-xtensa/core-dc233c.c              |  1 -
 target-xtensa/cpu.c                      |  1 +
 target-xtensa/cpu.h                      |  1 -
 tcg/optimize.c                           |  1 -
 tcg/tcg.h                                |  2 +-
 tci.c                                    |  1 -
 tests/ahci-test.c                        |  1 -
 tests/boot-order-test.c                  |  4 +-
 tests/boot-sector.c                      |  1 -
 tests/check-qdict.c                      |  1 -
 tests/check-qfloat.c                     |  1 -
 tests/check-qint.c                       |  1 -
 tests/check-qjson.c                      |  1 -
 tests/check-qom-proplist.c               |  1 +
 tests/check-qstring.c                    |  1 -
 tests/crypto-tls-x509-helpers.h          |  2 -
 tests/device-introspect-test.c           |  1 -
 tests/fdc-test.c                         |  1 -
 tests/fw_cfg-test.c                      |  3 +-
 tests/hd-geo-test.c                      |  1 -
 tests/io-channel-helpers.c               |  1 +
 tests/ipmi-bt-test.c                     |  1 -
 tests/libqos/ahci.c                      |  1 -
 tests/libqos/malloc-pc.c                 |  4 +-
 tests/libqos/pci-pc.c                    |  1 -
 tests/pc-cpu-test.c                      |  1 -
 tests/pxe-test.c                         |  1 -
 tests/rtl8139-test.c                     |  1 -
 tests/tcg/test-i386-fprem.c              |  4 +-
 tests/test-aio.c                         |  1 +
 tests/test-base64.c                      |  2 +-
 tests/test-blockjob-txn.c                |  1 +
 tests/test-crypto-cipher.c               |  1 +
 tests/test-crypto-secret.c               |  2 +
 tests/test-crypto-tlscredsx509.c         |  2 +
 tests/test-crypto-tlssession.c           |  2 +
 tests/test-io-channel-buffer.c           |  2 +-
 tests/test-io-channel-command.c          |  2 +
 tests/test-io-channel-file.c             |  3 +-
 tests/test-io-channel-socket.c           |  2 +
 tests/test-io-channel-tls.c              |  1 +
 tests/test-io-task.c                     |  2 +
 tests/test-iov.c                         |  1 -
 tests/test-opts-visitor.c                |  1 +
 tests/test-qemu-opts.c                   |  1 +
 tests/test-qmp-commands.c                |  1 -
 tests/test-qmp-event.c                   |  1 -
 tests/test-qmp-input-strict.c            |  2 +-
 tests/test-qmp-input-visitor.c           |  2 +-
 tests/test-qmp-output-visitor.c          |  2 +-
 tests/test-string-input-visitor.c        |  2 +-
 tests/test-string-output-visitor.c       |  2 +-
 tests/test-thread-pool.c                 |  2 +-
 tests/test-throttle.c                    |  1 +
 tests/test-visitor-serialization.c       |  2 +-
 tests/test-vmstate.c                     |  1 -
 tests/vhost-user-test.c                  |  1 +
 tests/virtio-9p-test.c                   |  1 -
 thread-pool.c                            |  1 -
 trace/control.c                          |  1 +
 trace/control.h                          |  2 -
 trace/qmp.c                              |  1 -
 ui/console-gl.c                          |  1 -
 ui/curses.c                              |  1 -
 ui/cursor.c                              |  1 -
 ui/egl-context.c                         |  1 -
 ui/egl-helpers.c                         |  1 -
 ui/gtk-egl.c                             |  1 -
 ui/gtk-gl-area.c                         |  1 -
 ui/input-linux.c                         |  1 +
 ui/keymaps.c                             |  1 +
 ui/keymaps.h                             |  2 -
 ui/qemu-pixman.c                         |  1 -
 ui/sdl2-2d.c                             |  1 -
 ui/sdl2-gl.c                             |  1 -
 ui/sdl2-input.c                          |  1 -
 ui/sdl2.c                                |  1 -
 ui/shader.c                              |  1 -
 ui/spice-core.c                          |  1 -
 ui/spice-display.c                       |  1 -
 ui/spice-input.c                         |  1 -
 ui/vnc-auth-sasl.c                       |  1 +
 ui/vnc-auth-vencrypt.c                   |  1 +
 ui/vnc-enc-tight.c                       |  1 -
 ui/vnc-ws.c                              |  1 +
 ui/vnc.c                                 |  1 +
 ui/vnc.h                                 |  1 -
 ui/x_keymap.c                            |  1 -
 util/acl.c                               |  1 -
 util/base64.c                            |  3 +-
 util/buffer.c                            |  1 +
 util/compatfd.c                          |  1 -
 util/coroutine-gthread.c                 |  1 -
 util/coroutine-sigaltstack.c             |  1 -
 util/coroutine-ucontext.c                |  1 -
 util/coroutine-win32.c                   |  1 -
 util/crc32c.c                            |  1 -
 util/envlist.c                           |  1 -
 util/error.c                             |  2 +-
 util/event_notifier-win32.c              |  1 -
 util/fifo8.c                             |  1 -
 util/getauxval.c                         |  1 -
 util/iov.c                               |  1 +
 util/log.c                               |  1 -
 util/mmap-alloc.c                        |  1 +
 util/module.c                            |  1 -
 util/notify.c                            |  1 -
 util/oslib-posix.c                       |  3 +-
 util/qemu-config.c                       |  1 -
 util/qemu-coroutine-lock.c               |  1 -
 util/qemu-coroutine.c                    |  1 -
 util/qemu-option.c                       |  1 +
 util/qemu-sockets.c                      |  4 +-
 util/qemu-thread-win32.c                 |  1 -
 util/rcu.c                               |  1 -
 util/throttle.c                          |  1 +
 vl.c                                     |  1 +
 821 files changed, 684 insertions(+), 627 deletions(-)
 delete mode 100644 include/config.h
 create mode 100644 include/hw/nvram/fw_cfg_keys.h
#30 lore raw
Quoted 11 lines · Paolo Bonzini
Quoted 10 lines · Markus Armbruster

This series tackles two issues:

* qapi/error.h and therefore qapi-types.h get included into every file via qemu/osdep.h. Touch the QAPI schema, recompile the world. As the QAPI maintainer, I get to touch it regularly, so this is an itch I need to scratch. PATCH 01-04 drop qapi/error.h from qemu/osdep.h. Unfortunately, the number of .o depending on qapi-types.h barely changes, because it gets included by so many other headers. More work is needed here.

Quoted 8 lines
Quoted 6 lines

* qemu-common.h explicitly asks not to be included in headers, but we do it anyway. PATCH 05-15 clean that up. Cuts the number of .o depending on qemu-common.h from ~95% to ~35%.

For additional motivation, see the "Our use of #include is undisciplined, and what to do about it" thread.

Patches 1-13 and possibly 15 are great.

Is this an R-by or Acked-by for 01-13?

Could they still be considered for 2.6? Rebasing them eats compile-time like no tomorrow.

[...]

#31 lore raw
Quoted 20 lines · Markus Armbruster
Quoted 18 lines · Paolo Bonzini
Quoted 16 lines · Markus Armbruster

This series tackles two issues:

* qapi/error.h and therefore qapi-types.h get included into every file via qemu/osdep.h. Touch the QAPI schema, recompile the world. As the QAPI maintainer, I get to touch it regularly, so this is an itch I need to scratch. PATCH 01-04 drop qapi/error.h from qemu/osdep.h. Unfortunately, the number of .o depending on qapi-types.h barely changes, because it gets included by so many other headers. More work is needed here.

* qemu-common.h explicitly asks not to be included in headers, but we do it anyway. PATCH 05-15 clean that up. Cuts the number of .o depending on qemu-common.h from ~95% to ~35%.

For additional motivation, see the "Our use of #include is undisciplined, and what to do about it" thread.

Quoted 6 lines
Quoted 1 line

Patches 1-13 and possibly 15 are great.

Is this an R-by or Acked-by for 01-13?

Could they still be considered for 2.6? Rebasing them eats compile-time like no tomorrow.

If Paolo wants to provide an R-by I'm happy to take them for 2.6 -- the possible failure modes are basically just "something stops compiling" which should be an easy fix if it happens. You could make my life easier by sticking them in a pullreq.

PS: master already has a patch to remove config.h.

thanks
-- PMM

Reviewed-by
#32 lore raw
Quoted 4 lines · Peter Maydell

If Paolo wants to provide an R-by I'm happy to take them for 2.6 -- the possible failure modes are basically just "something stops compiling" which should be an easy fix if it happens. You could make my life easier by sticking them in a pullreq.

A bunch more of files need qapi/error.h now, but it's mechanical so no need to repost.

Paolo