Browse Source

Include monitor/monitor.h exactly where needed

In particular, don't include it into headers.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
pull/28/head
Markus Armbruster 12 years ago
parent
commit
a0b1a66ea3
  1. 2
      balloon.c
  2. 1
      blockdev-nbd.c
  3. 1
      hw/core/platform-bus.c
  4. 1
      hw/display/qxl.c
  5. 1
      hw/i386/pc.c
  6. 1
      hw/ide/ahci.c
  7. 1
      hw/ppc/spapr_vio.c
  8. 1
      hw/s390x/event-facility.c
  9. 1
      hw/s390x/s390-virtio-bus.c
  10. 1
      hw/s390x/s390-virtio.c
  11. 1
      hw/s390x/virtio-ccw.c
  12. 1
      hw/usb/ccid-card-emulated.c
  13. 1
      hw/usb/ccid-card-passthru.c
  14. 1
      hw/usb/dev-serial.c
  15. 1
      hw/usb/dev-smartcard-reader.c
  16. 1
      hw/usb/hcd-ehci.h
  17. 1
      hw/usb/redirect.c
  18. 1
      include/block/block_int.h
  19. 2
      include/monitor/qdev.h
  20. 1
      include/sysemu/balloon.h
  21. 2
      include/ui/console.h
  22. 2
      include/ui/qemu-spice.h
  23. 1
      migration/migration.c
  24. 1
      net/l2tpv3.c
  25. 1
      qmp.c
  26. 1
      target-s390x/kvm.c
  27. 1
      tpm.c
  28. 1
      ui/input-legacy.c
  29. 1
      ui/spice-display.c
  30. 1
      ui/vnc-jobs.c

2
balloon.c

@ -24,7 +24,7 @@
* THE SOFTWARE.
*/
#include "monitor/monitor.h"
#include "qemu-common.h"
#include "exec/cpu-common.h"
#include "sysemu/kvm.h"
#include "sysemu/balloon.h"

1
blockdev-nbd.c

@ -12,7 +12,6 @@
#include "sysemu/blockdev.h"
#include "sysemu/block-backend.h"
#include "hw/block/block.h"
#include "monitor/monitor.h"
#include "qapi/qmp/qerror.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"

1
hw/core/platform-bus.c

@ -20,7 +20,6 @@
*/
#include "hw/platform-bus.h"
#include "monitor/monitor.h"
#include "exec/address-spaces.h"
#include "sysemu/sysemu.h"

1
hw/display/qxl.c

@ -25,7 +25,6 @@
#include "qemu/timer.h"
#include "qemu/queue.h"
#include "qemu/atomic.h"
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "trace.h"

1
hw/i386/pc.c

@ -31,7 +31,6 @@
#include "hw/ide.h"
#include "hw/pci/pci.h"
#include "hw/pci/pci_bus.h"
#include "monitor/monitor.h"
#include "hw/nvram/fw_cfg.h"
#include "hw/timer/hpet.h"
#include "hw/i386/smbios.h"

1
hw/ide/ahci.c

@ -28,7 +28,6 @@
#include <hw/sysbus.h>
#include "qemu/error-report.h"
#include "monitor/monitor.h"
#include "sysemu/block-backend.h"
#include "sysemu/dma.h"
#include "internal.h"

1
hw/ppc/spapr_vio.c

@ -22,7 +22,6 @@
#include "hw/hw.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "monitor/monitor.h"
#include "hw/loader.h"
#include "elf.h"
#include "hw/sysbus.h"

1
hw/s390x/event-facility.c

@ -15,7 +15,6 @@
*
*/
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "hw/s390x/sclp.h"

1
hw/s390x/s390-virtio-bus.c

@ -21,7 +21,6 @@
#include "sysemu/block-backend.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "monitor/monitor.h"
#include "hw/loader.h"
#include "elf.h"
#include "hw/virtio/virtio.h"

1
hw/s390x/s390-virtio.c

@ -28,7 +28,6 @@
#include "sysemu/sysemu.h"
#include "net/net.h"
#include "hw/boards.h"
#include "monitor/monitor.h"
#include "hw/loader.h"
#include "hw/virtio/virtio.h"
#include "hw/sysbus.h"

1
hw/s390x/virtio-ccw.c

@ -15,7 +15,6 @@
#include "sysemu/blockdev.h"
#include "sysemu/sysemu.h"
#include "net/net.h"
#include "monitor/monitor.h"
#include "hw/virtio/virtio.h"
#include "hw/virtio/virtio-serial.h"
#include "hw/virtio/virtio-net.h"

1
hw/usb/ccid-card-emulated.c

@ -33,7 +33,6 @@
#include "qemu/thread.h"
#include "sysemu/char.h"
#include "monitor/monitor.h"
#include "ccid.h"
#define DPRINTF(card, lvl, fmt, ...) \

1
hw/usb/ccid-card-passthru.c

@ -11,7 +11,6 @@
#include "sysemu/char.h"
#include "qemu/error-report.h"
#include "qemu/sockets.h"
#include "monitor/monitor.h"
#include "ccid.h"
#include "libcacard/vscard_common.h"

1
hw/usb/dev-serial.c

@ -10,7 +10,6 @@
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "monitor/monitor.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "sysemu/char.h"

1
hw/usb/dev-smartcard-reader.c

@ -38,7 +38,6 @@
#include "qemu/error-report.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "monitor/monitor.h"
#include "ccid.h"

1
hw/usb/hcd-ehci.h

@ -20,7 +20,6 @@
#include "hw/hw.h"
#include "qemu/timer.h"
#include "hw/usb.h"
#include "monitor/monitor.h"
#include "sysemu/dma.h"
#include "sysemu/sysemu.h"
#include "hw/pci/pci.h"

1
hw/usb/redirect.c

@ -27,7 +27,6 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "qapi/qmp/qerror.h"
#include "qemu/error-report.h"

1
include/block/block_int.h

@ -31,7 +31,6 @@
#include "block/coroutine.h"
#include "qemu/timer.h"
#include "qapi-types.h"
#include "monitor/monitor.h"
#include "qemu/hbitmap.h"
#include "block/snapshot.h"
#include "qemu/main-loop.h"

2
include/monitor/qdev.h

@ -2,7 +2,7 @@
#define QEMU_QDEV_MONITOR_H
#include "hw/qdev-core.h"
#include "monitor/monitor.h"
#include "qemu/typedefs.h"
/*** monitor commands ***/

1
include/sysemu/balloon.h

@ -14,7 +14,6 @@
#ifndef _QEMU_BALLOON_H
#define _QEMU_BALLOON_H
#include "monitor/monitor.h"
#include "qapi-types.h"
typedef void (QEMUBalloonEvent)(void *opaque, ram_addr_t target);

2
include/ui/console.h

@ -5,7 +5,7 @@
#include "qom/object.h"
#include "qapi/qmp/qdict.h"
#include "qemu/notify.h"
#include "monitor/monitor.h"
#include "qemu/typedefs.h"
#include "qapi-types.h"
#include "qapi/error.h"

2
include/ui/qemu-spice.h

@ -26,7 +26,6 @@
#include "qemu/option.h"
#include "qemu/config-file.h"
#include "monitor/monitor.h"
extern int using_spice;
@ -54,7 +53,6 @@ static inline CharDriverState *qemu_chr_open_spice_port(const char *name)
#endif
#else /* CONFIG_SPICE */
#include "monitor/monitor.h"
#define using_spice 0
#define spice_displays 0

1
migration/migration.c

@ -17,7 +17,6 @@
#include "qemu/error-report.h"
#include "qemu/main-loop.h"
#include "migration/migration.h"
#include "monitor/monitor.h"
#include "migration/qemu-file.h"
#include "sysemu/sysemu.h"
#include "block/block.h"

1
net/l2tpv3.c

@ -28,7 +28,6 @@
#include "config-host.h"
#include "net/net.h"
#include "clients.h"
#include "monitor/monitor.h"
#include "qemu-common.h"
#include "qemu/error-report.h"
#include "qemu/option.h"

1
qmp.c

@ -14,6 +14,7 @@
*/
#include "qemu-common.h"
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"
#include "sysemu/char.h"

1
target-s390x/kvm.c

@ -37,7 +37,6 @@
#include "cpu.h"
#include "sysemu/device_tree.h"
#include "qapi/qmp/qjson.h"
#include "monitor/monitor.h"
#include "exec/gdbstub.h"
#include "exec/address-spaces.h"
#include "trace.h"

1
tpm.c

@ -13,7 +13,6 @@
*/
#include "config-host.h"
#include "monitor/monitor.h"
#include "qapi/qmp/qerror.h"
#include "sysemu/tpm_backend.h"
#include "sysemu/tpm.h"

1
ui/input-legacy.c

@ -23,7 +23,6 @@
*/
#include "sysemu/sysemu.h"
#include "monitor/monitor.h"
#include "ui/console.h"
#include "qapi/error.h"
#include "qmp-commands.h"

1
ui/spice-display.c

@ -19,7 +19,6 @@
#include "ui/qemu-spice.h"
#include "qemu/timer.h"
#include "qemu/queue.h"
#include "monitor/monitor.h"
#include "ui/console.h"
#include "sysemu/sysemu.h"
#include "trace.h"

1
ui/vnc-jobs.c

@ -29,6 +29,7 @@
#include "vnc.h"
#include "vnc-jobs.h"
#include "qemu/sockets.h"
#include "block/aio.h"
/*
* Locking:

Loading…
Cancel
Save