Procházet zdrojové kódy

Include qemu-common.h exactly where needed

No header includes qemu-common.h after this commit, as prescribed by
qemu-common.h's file comment.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-5-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
include/hw/arm/xlnx-zynqmp.h hw/arm/nrf51_soc.c hw/arm/msf2-soc.c
block/qcow2-refcount.c block/qcow2-cluster.c block/qcow2-cache.c
target/arm/cpu.h target/lm32/cpu.h target/m68k/cpu.h target/mips/cpu.h
target/moxie/cpu.h target/nios2/cpu.h target/openrisc/cpu.h
target/riscv/cpu.h target/tilegx/cpu.h target/tricore/cpu.h
target/unicore32/cpu.h target/xtensa/cpu.h; bsd-user/main.c and
net/tap-bsd.c fixed up]
Markus Armbruster před 6 roky
rodič
revize
a8d2532645
100 změnil soubory, kde provedl 24 přidání a 77 odebrání
  1. 0 1
      accel/kvm/kvm-all.c
  2. 0 1
      accel/stubs/hax-stub.c
  3. 0 1
      accel/stubs/hvf-stub.c
  4. 0 1
      accel/stubs/kvm-stub.c
  5. 0 1
      accel/stubs/whpx-stub.c
  6. 2 0
      accel/tcg/cpu-exec.c
  7. 1 0
      accel/tcg/translate-all.c
  8. 0 1
      accel/tcg/translator.c
  9. 0 1
      accel/tcg/user-exec-stub.c
  10. 0 1
      arch_init.c
  11. 0 1
      audio/audio_legacy.c
  12. 0 1
      audio/audio_pt_int.c
  13. 0 1
      audio/mixeng.c
  14. 0 1
      balloon.c
  15. 0 1
      block/bochs.c
  16. 0 1
      block/cloop.c
  17. 0 1
      block/dirty-bitmap.c
  18. 0 1
      block/dmg-bz2.c
  19. 0 1
      block/dmg.c
  20. 0 1
      block/dmg.h
  21. 1 0
      block/file-posix.c
  22. 1 0
      block/iscsi.c
  23. 0 1
      block/linux-aio.c
  24. 0 1
      block/nbd-client.h
  25. 1 0
      block/qapi.c
  26. 0 1
      block/qcow2-cache.c
  27. 0 1
      block/qcow2-cluster.c
  28. 0 1
      block/qcow2-refcount.c
  29. 1 0
      block/sheepdog.c
  30. 0 1
      block/vhdx-endian.c
  31. 0 1
      blockjob.c
  32. 1 0
      bsd-user/main.c
  33. 0 1
      bt-vhci.c
  34. 1 0
      chardev/char-fd.c
  35. 1 0
      chardev/char-pipe.c
  36. 1 0
      chardev/char-pty.c
  37. 0 1
      contrib/ivshmem-client/ivshmem-client.c
  38. 0 1
      contrib/ivshmem-client/main.c
  39. 0 1
      contrib/ivshmem-server/ivshmem-server.c
  40. 1 0
      cpus.c
  41. 0 1
      crypto/aes.c
  42. 0 1
      disas.c
  43. 0 1
      disas/cris.c
  44. 0 1
      disas/i386.c
  45. 0 1
      disas/s390.c
  46. 1 0
      dump.c
  47. 1 0
      exec.c
  48. 1 0
      gdbstub.c
  49. 0 1
      hmp.h
  50. 1 0
      hw/9pfs/9p-proxy.c
  51. 0 1
      hw/9pfs/coth.c
  52. 0 1
      hw/acpi/bios-linker-loader.c
  53. 0 1
      hw/acpi/tco.c
  54. 0 1
      hw/alpha/pci.c
  55. 0 1
      hw/arm/aspeed.c
  56. 1 0
      hw/arm/boot.c
  57. 0 1
      hw/arm/cubieboard.c
  58. 0 1
      hw/arm/exynos4210.c
  59. 0 1
      hw/arm/exynos4_boards.c
  60. 0 1
      hw/arm/fsl-imx25.c
  61. 0 1
      hw/arm/fsl-imx31.c
  62. 1 0
      hw/arm/highbank.c
  63. 0 1
      hw/arm/imx25_pdk.c
  64. 0 1
      hw/arm/integratorcp.c
  65. 0 1
      hw/arm/kzm.c
  66. 0 1
      hw/arm/mcimx6ul-evk.c
  67. 0 1
      hw/arm/mcimx7d-sabre.c
  68. 0 1
      hw/arm/msf2-soc.c
  69. 0 1
      hw/arm/musicpal.c
  70. 0 1
      hw/arm/nrf51_soc.c
  71. 0 1
      hw/arm/omap2.c
  72. 1 0
      hw/arm/pxa2xx.c
  73. 0 1
      hw/arm/raspi.c
  74. 0 1
      hw/arm/realview.c
  75. 0 1
      hw/arm/sabrelite.c
  76. 1 0
      hw/arm/strongarm.c
  77. 0 1
      hw/arm/sysbus-fdt.c
  78. 0 1
      hw/arm/versatilepb.c
  79. 0 1
      hw/arm/virt-acpi-build.c
  80. 1 0
      hw/arm/virt.c
  81. 0 1
      hw/arm/xilinx_zynq.c
  82. 0 1
      hw/arm/xlnx-zcu102.c
  83. 0 1
      hw/audio/soundhw.c
  84. 0 1
      hw/block/cdrom.c
  85. 0 1
      hw/bt/core.c
  86. 0 1
      hw/bt/hci.c
  87. 0 1
      hw/bt/hid.c
  88. 0 1
      hw/bt/l2cap.c
  89. 0 1
      hw/bt/sdp.c
  90. 0 1
      hw/core/irq.c
  91. 1 0
      hw/core/loader.c
  92. 0 1
      hw/core/null-machine.c
  93. 0 1
      hw/cris/axis_dev88.c
  94. 0 1
      hw/cris/boot.c
  95. 0 1
      hw/display/blizzard.c
  96. 1 0
      hw/display/cg3.c
  97. 0 1
      hw/display/edid-generate.c
  98. 0 1
      hw/display/edid-region.c
  99. 0 1
      hw/display/qxl.h
  100. 1 0
      hw/display/tcx.c

+ 0 - 1
accel/kvm/kvm-all.c

@@ -18,7 +18,6 @@
 
 #include <linux/kvm.h>
 
-#include "qemu-common.h"
 #include "qemu/atomic.h"
 #include "qemu/option.h"
 #include "qemu/config-file.h"

+ 0 - 1
accel/stubs/hax-stub.c

@@ -14,7 +14,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/hax.h"
 

+ 0 - 1
accel/stubs/hvf-stub.c

@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/hvf.h"
 

+ 0 - 1
accel/stubs/kvm-stub.c

@@ -11,7 +11,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/kvm.h"
 

+ 0 - 1
accel/stubs/whpx-stub.c

@@ -9,7 +9,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/whpx.h"
 

+ 2 - 0
accel/tcg/cpu-exec.c

@@ -16,7 +16,9 @@
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, see <http://www.gnu.org/licenses/>.
  */
+
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "cpu.h"
 #include "trace.h"
 #include "disas/disas.h"

+ 1 - 0
accel/tcg/translate-all.c

@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 
 #define NO_CPU_IO_DEFS
 #include "cpu.h"

+ 0 - 1
accel/tcg/translator.c

@@ -8,7 +8,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "cpu.h"
 #include "tcg/tcg.h"

+ 0 - 1
accel/tcg/user-exec-stub.c

@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qom/cpu.h"
 #include "sysemu/replay.h"
 #include "sysemu/sysemu.h"

+ 0 - 1
arch_init.c

@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/arch_init.h"

+ 0 - 1
audio/audio_legacy.c

@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "audio.h"
 #include "audio_int.h"
-#include "qemu-common.h"
 #include "qemu/cutils.h"
 #include "qemu/timer.h"
 #include "qapi/error.h"

+ 0 - 1
audio/audio_pt_int.c

@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "audio.h"
 
 #define AUDIO_CAP "audio-pt"

+ 0 - 1
audio/mixeng.c

@@ -23,7 +23,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/bswap.h"
 #include "qemu/error-report.h"
 #include "audio.h"

+ 0 - 1
balloon.c

@@ -25,7 +25,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/atomic.h"
 #include "exec/cpu-common.h"
 #include "sysemu/kvm.h"

+ 0 - 1
block/bochs.c

@@ -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 "qemu/bswap.h"

+ 0 - 1
block/cloop.c

@@ -24,7 +24,6 @@
 #include "qemu/osdep.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/module.h"
 #include "qemu/bswap.h"

+ 0 - 1
block/dirty-bitmap.c

@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "trace.h"
 #include "block/block_int.h"
 #include "block/blockjob.h"

+ 0 - 1
block/dmg-bz2.c

@@ -23,7 +23,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "dmg.h"
 #include <bzlib.h>
 

+ 0 - 1
block/dmg.c

@@ -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"

+ 0 - 1
block/dmg.h

@@ -26,7 +26,6 @@
 #ifndef BLOCK_DMG_H
 #define BLOCK_DMG_H
 
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include <zlib.h>
 

+ 1 - 0
block/file-posix.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/cutils.h"
 #include "qemu/error-report.h"

+ 1 - 0
block/iscsi.c

@@ -28,6 +28,7 @@
 #include <poll.h>
 #include <math.h>
 #include <arpa/inet.h>
+#include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "qemu/error-report.h"
 #include "qemu/bitops.h"

+ 0 - 1
block/linux-aio.c

@@ -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/block.h"

+ 0 - 1
block/nbd-client.h

@@ -1,7 +1,6 @@
 #ifndef NBD_CLIENT_H
 #define NBD_CLIENT_H
 
-#include "qemu-common.h"
 #include "block/nbd.h"
 #include "block/block_int.h"
 #include "io/channel-socket.h"

+ 1 - 0
block/qapi.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "block/qapi.h"
 #include "block/block_int.h"
 #include "block/throttle-groups.h"

+ 0 - 1
block/qcow2-cache.c

@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qcow2.h"
 #include "trace.h"
 

+ 0 - 1
block/qcow2-cluster.c

@@ -26,7 +26,6 @@
 #include <zlib.h>
 
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qcow2.h"
 #include "qemu/bswap.h"
 #include "trace.h"

+ 0 - 1
block/qcow2-refcount.c

@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qcow2.h"
 #include "qemu/range.h"
 #include "qemu/bswap.h"

+ 1 - 0
block/sheepdog.c

@@ -13,6 +13,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qapi/qapi-visit-sockets.h"
 #include "qapi/qapi-visit-block-core.h"

+ 0 - 1
block/vhdx-endian.c

@@ -16,7 +16,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block_int.h"
 #include "qemu/bswap.h"
 #include "vhdx.h"

+ 0 - 1
blockjob.c

@@ -24,7 +24,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/block.h"
 #include "block/blockjob_int.h"
 #include "block/block_int.h"

+ 1 - 0
bsd-user/main.c

@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/units.h"
 #include "sysemu/tcg.h"
 #include "qemu-version.h"

+ 0 - 1
bt-vhci.c

@@ -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"

+ 1 - 0
chardev/char-fd.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/module.h"
 #include "qemu/sockets.h"
 #include "qapi/error.h"

+ 1 - 0
chardev/char-pipe.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/module.h"
 #include "qemu/option.h"

+ 1 - 0
chardev/char-pty.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "chardev/char.h"
 #include "io/channel-file.h"

+ 0 - 1
contrib/ivshmem-client/ivshmem-client.c

@@ -10,7 +10,6 @@
 #include <sys/socket.h>
 #include <sys/un.h>
 
-#include "qemu-common.h"
 #include "qemu/queue.h"
 
 #include "ivshmem-client.h"

+ 0 - 1
contrib/ivshmem-client/main.c

@@ -7,7 +7,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 
 #include "ivshmem-client.h"
 

+ 0 - 1
contrib/ivshmem-server/ivshmem-server.c

@@ -6,7 +6,6 @@
  * top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 #include "qemu/sockets.h"
 

+ 1 - 0
cpus.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/config-file.h"
 #include "cpu.h"
 #include "monitor/monitor.h"

+ 0 - 1
crypto/aes.c

@@ -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;

+ 0 - 1
disas.c

@@ -1,6 +1,5 @@
 /* General "disassemble this chunk" code.  Used for debugging. */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/dis-asm.h"
 #include "elf.h"
 #include "qemu/qemu-print.h"

+ 0 - 1
disas/cris.c

@@ -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/dis-asm.h"
 #include "target/cris/opcode-cris.h"
 

+ 0 - 1
disas/i386.c

@@ -153,7 +153,6 @@
 #define MAX_REG_NAME_SIZE 8
 
 /* opcodes/i386-dis.c r1.126 */
-#include "qemu-common.h"
 
 static int fetch_data2(struct disassemble_info *, bfd_byte *);
 static int fetch_data(struct disassemble_info *, bfd_byte *);

+ 0 - 1
disas/s390.c

@@ -21,7 +21,6 @@
    02110-1301, USA.  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "disas/dis-asm.h"
 
 /* include/opcode/s390.h revision 1.9 */

+ 1 - 0
dump.c

@@ -12,6 +12,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/cutils.h"
 #include "elf.h"
 #include "cpu.h"

+ 1 - 0
exec.c

@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 
 #include "qemu/cutils.h"

+ 1 - 0
gdbstub.c

@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "qemu/ctype.h"

+ 0 - 1
hmp.h

@@ -14,7 +14,6 @@
 #ifndef HMP_H
 #define HMP_H
 
-#include "qemu-common.h"
 #include "qemu/readline.h"
 
 void hmp_info_name(Monitor *mon, const QDict *qdict);

+ 1 - 0
hw/9pfs/9p-proxy.c

@@ -13,6 +13,7 @@
 #include "qemu/osdep.h"
 #include <sys/socket.h>
 #include <sys/un.h>
+#include "qemu-common.h"
 #include "9p.h"
 #include "qapi/error.h"
 #include "qemu/cutils.h"

+ 0 - 1
hw/9pfs/coth.c

@@ -13,7 +13,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "block/thread-pool.h"
 #include "qemu/coroutine.h"
 #include "coth.h"

+ 0 - 1
hw/acpi/bios-linker-loader.c

@@ -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"
 

+ 0 - 1
hw/acpi/tco.c

@@ -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"
 

+ 0 - 1
hw/alpha/pci.c

@@ -7,7 +7,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "alpha_sys.h"
 #include "qemu/log.h"
 #include "sysemu/sysemu.h"

+ 0 - 1
hw/arm/aspeed.c

@@ -11,7 +11,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "exec/address-spaces.h"
 #include "hw/arm/boot.h"

+ 1 - 0
hw/arm/boot.c

@@ -8,6 +8,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
 #include <libfdt.h>

+ 0 - 1
hw/arm/cubieboard.c

@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/exynos4210.c

@@ -23,7 +23,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/log.h"
 #include "cpu.h"
 #include "hw/cpu/a9mpcore.h"

+ 0 - 1
hw/arm/exynos4_boards.c

@@ -25,7 +25,6 @@
 #include "qemu/units.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/sysemu.h"
 #include "hw/sysbus.h"

+ 0 - 1
hw/arm/fsl-imx25.c

@@ -24,7 +24,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/fsl-imx25.h"
 #include "sysemu/sysemu.h"

+ 0 - 1
hw/arm/fsl-imx31.c

@@ -21,7 +21,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/fsl-imx31.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
hw/arm/highbank.c

@@ -18,6 +18,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "hw/sysbus.h"
 #include "hw/arm/boot.h"

+ 0 - 1
hw/arm/imx25_pdk.c

@@ -25,7 +25,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/fsl-imx25.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/integratorcp.c

@@ -9,7 +9,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/kzm.c

@@ -15,7 +15,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/fsl-imx31.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/mcimx6ul-evk.c

@@ -12,7 +12,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/arm/fsl-imx6ul.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"

+ 0 - 1
hw/arm/mcimx7d-sabre.c

@@ -14,7 +14,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/arm/fsl-imx7.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"

+ 0 - 1
hw/arm/msf2-soc.c

@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "exec/address-spaces.h"
 #include "hw/char/serial.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/musicpal.c

@@ -11,7 +11,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/arm/boot.h"

+ 0 - 1
hw/arm/nrf51_soc.c

@@ -10,7 +10,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/arm/boot.h"
 #include "hw/sysbus.h"
 #include "hw/boards.h"

+ 0 - 1
hw/arm/omap2.c

@@ -21,7 +21,6 @@
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "sysemu/qtest.h"
 #include "hw/boards.h"

+ 1 - 0
hw/arm/pxa2xx.c

@@ -8,6 +8,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "qemu/module.h"
 #include "qapi/error.h"

+ 0 - 1
hw/arm/raspi.c

@@ -14,7 +14,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/bcm2836.h"
 #include "qemu/error-report.h"

+ 0 - 1
hw/arm/realview.c

@@ -9,7 +9,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/arm/boot.h"

+ 0 - 1
hw/arm/sabrelite.c

@@ -12,7 +12,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "hw/arm/fsl-imx6.h"
 #include "hw/boards.h"
 #include "sysemu/sysemu.h"

+ 1 - 0
hw/arm/strongarm.c

@@ -28,6 +28,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/boards.h"
 #include "hw/sysbus.h"

+ 0 - 1
hw/arm/sysbus-fdt.c

@@ -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

+ 0 - 1
hw/arm/versatilepb.c

@@ -9,7 +9,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/arm/boot.h"

+ 0 - 1
hw/arm/virt-acpi-build.c

@@ -28,7 +28,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/bitmap.h"
 #include "trace.h"
 #include "qom/cpu.h"

+ 1 - 0
hw/arm/virt.c

@@ -29,6 +29,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qemu/units.h"
 #include "qemu/option.h"
 #include "qapi/error.h"

+ 0 - 1
hw/arm/xilinx_zynq.c

@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "hw/arm/boot.h"

+ 0 - 1
hw/arm/xlnx-zcu102.c

@@ -17,7 +17,6 @@
 
 #include "qemu/osdep.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/arm/xlnx-zynqmp.h"
 #include "hw/boards.h"

+ 0 - 1
hw/audio/soundhw.c

@@ -22,7 +22,6 @@
  * THE SOFTWARE.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/help_option.h"
 #include "qemu/error-report.h"
 #include "qom/object.h"

+ 0 - 1
hw/block/cdrom.c

@@ -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)

+ 0 - 1
hw/bt/core.c

@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
-#include "qemu-common.h"
 #include "sysemu/bt.h"
 #include "hw/bt.h"
 

+ 0 - 1
hw/bt/hci.c

@@ -21,7 +21,6 @@
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "hw/usb.h"
 #include "sysemu/bt.h"

+ 0 - 1
hw/bt/hid.c

@@ -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"

+ 0 - 1
hw/bt/l2cap.c

@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
-#include "qemu-common.h"
 #include "qemu/timer.h"
 #include "qemu/bswap.h"
 #include "hw/bt.h"

+ 0 - 1
hw/bt/sdp.c

@@ -19,7 +19,6 @@
 
 #include "qemu/osdep.h"
 #include "qemu/error-report.h"
-#include "qemu-common.h"
 #include "qemu/host-utils.h"
 #include "hw/bt.h"
 

+ 0 - 1
hw/core/irq.c

@@ -23,7 +23,6 @@
  */
 #include "qemu/osdep.h"
 #include "qemu/main-loop.h"
-#include "qemu-common.h"
 #include "hw/irq.h"
 #include "qom/object.h"
 

+ 1 - 0
hw/core/loader.c

@@ -43,6 +43,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "hw/hw.h"
 #include "disas/disas.h"

+ 0 - 1
hw/core/null-machine.c

@@ -12,7 +12,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/error-report.h"
 #include "hw/hw.h"
 #include "hw/boards.h"

+ 0 - 1
hw/cris/axis_dev88.c

@@ -25,7 +25,6 @@
 #include "qemu/osdep.h"
 #include "qemu/units.h"
 #include "qapi/error.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/sysbus.h"
 #include "net/net.h"

+ 0 - 1
hw/cris/boot.c

@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "cpu.h"
 #include "hw/hw.h"
 #include "hw/loader.h"

+ 0 - 1
hw/display/blizzard.c

@@ -19,7 +19,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "ui/console.h"
 #include "hw/display/blizzard.h"
 #include "ui/pixel_ops.h"

+ 1 - 0
hw/display/cg3.c

@@ -24,6 +24,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "qemu/error-report.h"
 #include "ui/console.h"

+ 0 - 1
hw/display/edid-generate.c

@@ -5,7 +5,6 @@
  * See the COPYING file in the top-level directory.
  */
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "qemu/bswap.h"
 #include "hw/display/edid.h"
 

+ 0 - 1
hw/display/edid-region.c

@@ -1,5 +1,4 @@
 #include "qemu/osdep.h"
-#include "qemu-common.h"
 #include "hw/display/edid.h"
 
 static uint64_t edid_region_read(void *ptr, hwaddr addr, unsigned size)

+ 0 - 1
hw/display/qxl.h

@@ -1,7 +1,6 @@
 #ifndef HW_QXL_H
 #define HW_QXL_H
 
-#include "qemu-common.h"
 
 #include "hw/hw.h"
 #include "hw/pci/pci.h"

+ 1 - 0
hw/display/tcx.c

@@ -23,6 +23,7 @@
  */
 
 #include "qemu/osdep.h"
+#include "qemu-common.h"
 #include "qapi/error.h"
 #include "ui/console.h"
 #include "ui/pixel_ops.h"

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů