sysemu: avoid proliferation of include/ subdirectories

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2013-04-08 16:55:25 +02:00
parent bdee56f546
commit dccfcd0e5f
78 changed files with 78 additions and 78 deletions

View File

@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "hw/usb.h"
#include <brlapi.h>

View File

@ -23,7 +23,7 @@
*/
#include <stdlib.h>
#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/console.h"
#define MSMOUSE_LO6(n) ((n) & 0x3f)

View File

@ -10,8 +10,8 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/rng.h"
#include "char/char.h"
#include "sysemu/rng.h"
#include "sysemu/char.h"
#include "qapi/qmp/qerror.h"
#include "hw/qdev.h" /* just for DEFINE_PROP_CHR */

View File

@ -10,8 +10,8 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/rng-random.h"
#include "qemu/rng.h"
#include "sysemu/rng-random.h"
#include "sysemu/rng.h"
#include "qapi/qmp/qerror.h"
#include "qemu/main-loop.h"

View File

@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory.
*/
#include "qemu/rng.h"
#include "sysemu/rng.h"
#include "qapi/qmp/qerror.h"
void rng_backend_request_entropy(RngBackend *s, size_t size,

View File

@ -12,7 +12,7 @@
* Based on backends/rng.c by Anthony Liguori
*/
#include "backends/tpm.h"
#include "sysemu/tpm_backend.h"
#include "qapi/qmp/qerror.h"
#include "sysemu/tpm.h"
#include "qemu/thread.h"

View File

@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "qemu/main-loop.h"
#ifndef _WIN32

View File

@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
#include "qemu/main-loop.h"

View File

@ -30,7 +30,7 @@
#include "qemu.h"
#else
#include "monitor/monitor.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "exec/gdbstub.h"
#endif

2
hmp.c
View File

@ -15,7 +15,7 @@
#include "hmp.h"
#include "net/net.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/option.h"
#include "qemu/timer.h"
#include "qmp-commands.h"

View File

@ -24,7 +24,7 @@
#include "hw/arm/omap.h"
#include "sysemu/sysemu.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/block/flash.h"
#include "hw/arm/soc_dma.h"
#include "hw/sysbus.h"

View File

@ -13,7 +13,7 @@
#include "hw/char/serial.h"
#include "hw/i2c/i2c.h"
#include "hw/ssi.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/blockdev.h"
static struct {

View File

@ -30,7 +30,7 @@
#include "strongarm.h"
#include "qemu/error-report.h"
#include "hw/arm/arm.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "hw/ssi.h"

View File

@ -18,7 +18,7 @@
*/
#include "qemu-common.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
/* Slave implementations can ignore this */

View File

@ -19,10 +19,10 @@
*/
#include "qemu-common.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "hw/irq.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
struct csrhci_s {

View File

@ -21,7 +21,7 @@
#include "qemu-common.h"
#include "qemu/timer.h"
#include "hw/usb.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
struct bt_hci_s {

View File

@ -17,7 +17,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#ifdef CADENCE_UART_ERR_DEBUG

View File

@ -25,7 +25,7 @@
*/
#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/isa/isa.h"
#include "hw/i386/pc.h"

View File

@ -25,7 +25,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "hw/char/escc.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/console.h"
#include "trace.h"

View File

@ -23,7 +23,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/log.h"
#define D(x)

View File

@ -21,7 +21,7 @@
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/arm/exynos4210.h"

View File

@ -23,7 +23,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "trace.h"

View File

@ -20,7 +20,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/arm/imx.h"
//#define DEBUG_SERIAL 1

View File

@ -10,7 +10,7 @@
#include "ipack.h"
#include "qemu/bitops.h"
#include "char/char.h"
#include "sysemu/char.h"
/* #define DEBUG_IPOCTAL */

View File

@ -20,7 +20,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/lm32/lm32_juart.h"

View File

@ -25,7 +25,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"
enum {

View File

@ -7,7 +7,7 @@
*/
#include "hw/hw.h"
#include "hw/m68k/mcf.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "exec/address-spaces.h"
typedef struct {

View File

@ -24,7 +24,7 @@
#include "hw/hw.h"
#include "hw/sysbus.h"
#include "trace.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"
enum {

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/hw.h"
#include "hw/arm/omap.h"
#include "hw/char/serial.h"

View File

@ -23,7 +23,7 @@
* THE SOFTWARE.
*/
#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/isa/isa.h"
#include "hw/i386/pc.h"
#include "sysemu/sysemu.h"

View File

@ -8,7 +8,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
typedef struct {
SysBusDevice busdev;

View File

@ -18,7 +18,7 @@
#include "hw/s390x/sclp.h"
#include "hw/s390x/event-facility.h"
#include "char/char.h"
#include "sysemu/char.h"
typedef struct ASCIIConsoleData {
EventBufferHeader ebh;

View File

@ -24,7 +24,7 @@
*/
#include "hw/char/serial.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/timer.h"
#include "exec/address-spaces.h"

View File

@ -26,7 +26,7 @@
*/
#include "hw/hw.h"
#include "hw/sh4/sh.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "exec/address-spaces.h"
//#define DEBUG_SERIAL

View File

@ -1,5 +1,5 @@
#include "hw/qdev.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/ppc/spapr.h"
#include "hw/ppc/spapr_vio.h"

View File

@ -10,7 +10,7 @@
* the COPYING file in the top-level directory.
*/
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/error-report.h"
#include "trace.h"
#include "hw/virtio/virtio-serial.h"

View File

@ -30,7 +30,7 @@
#include <sys/mman.h>
#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/xen/xen_backend.h"
#include <xen/io/console.h>

View File

@ -23,7 +23,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#define DUART(x)

View File

@ -17,7 +17,7 @@
#include "hw/block/block.h"
#include "net/hub.h"
#include "qapi/visitor.h"
#include "char/char.h"
#include "sysemu/char.h"
static void get_pointer(Object *obj, Visitor *v, Property *prop,
const char *(*print)(void *ptr),

View File

@ -5,7 +5,7 @@
#include "hw/block/block.h"
#include "net/hub.h"
#include "qapi/visitor.h"
#include "char/char.h"
#include "sysemu/char.h"
void qdev_prop_set_after_realize(DeviceState *dev, const char *name,
Error **errp)

View File

@ -37,7 +37,7 @@
#include "hw/hw.h"
#include "ui/console.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/xen/xen_backend.h"
#include <xen/event_channel.h>

View File

@ -27,7 +27,7 @@
#include "qemu/error-report.h"
#include "sysemu/blockdev.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "trace.h"

View File

@ -30,7 +30,7 @@
#include "hw/mips/mips.h"
#include "hw/mips/cpudevs.h"
#include "hw/pci/pci.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "audio/audio.h"
#include "qemu/log.h"

View File

@ -34,7 +34,7 @@
#include "hw/mips/mips.h"
#include "hw/mips/cpudevs.h"
#include "hw/pci/pci.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "sysemu/arch_init.h"
#include "hw/boards.h"

View File

@ -24,7 +24,7 @@
#include "migration/migration.h"
#include "qapi/qmp/qerror.h"
#include "qemu/event_notifier.h"
#include "char/char.h"
#include "sysemu/char.h"
#include <sys/mman.h>
#include <sys/types.h>

View File

@ -25,7 +25,7 @@
*/
#include "hw/sysbus.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/log.h"
#include "net/net.h"
#include "net/checksum.h"

View File

@ -26,7 +26,7 @@
*/
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/qdev.h"
#include "sysemu/device_tree.h"

View File

@ -26,7 +26,7 @@
*/
#include "cpu.h"
#include "sysemu/sysemu.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/qdev.h"
#include "sysemu/device_tree.h"

View File

@ -24,7 +24,7 @@
#include "hw/hw.h"
#include "qemu/timer.h"
#include "hw/ptimer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "sysemu/sysemu.h"
#include "hw/boards.h"
#include "hw/loader.h"

View File

@ -27,7 +27,7 @@
#include "qemu-common.h"
#include "qapi/error.h"
#include "qemu/sockets.h"
#include "backends/tpm.h"
#include "sysemu/tpm_backend.h"
#include "tpm_int.h"
#include "hw/hw.h"
#include "hw/i386/pc.h"

View File

@ -19,7 +19,7 @@
* specification.
*/
#include "backends/tpm.h"
#include "sysemu/tpm_backend.h"
#include "tpm_int.h"
#include "block/block.h"
#include "exec/address-spaces.h"

View File

@ -32,7 +32,7 @@
#include <vcard_emul.h>
#include "qemu/thread.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "monitor/monitor.h"
#include "ccid.h"

View File

@ -8,7 +8,7 @@
* See the COPYING file in the top-level directory.
*/
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/sockets.h"
#include "monitor/monitor.h"
#include "ccid.h"

View File

@ -21,7 +21,7 @@
#include "qemu-common.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "hw/bt.h"
struct USBBtState {

View File

@ -12,7 +12,7 @@
#include "qemu/error-report.h"
#include "hw/usb.h"
#include "hw/usb/desc.h"
#include "char/char.h"
#include "sysemu/char.h"
//#define DEBUG_Serial

View File

@ -30,7 +30,7 @@
#include "monitor/monitor.h"
#include "sysemu/sysemu.h"
#include "qemu/iov.h"
#include "char/char.h"
#include "sysemu/char.h"
#include <dirent.h>
#include <sys/ioctl.h>

View File

@ -14,7 +14,7 @@
#include "qapi/qmp/qerror.h"
#include "hw/virtio/virtio.h"
#include "hw/virtio/virtio-rng.h"
#include "qemu/rng.h"
#include "sysemu/rng.h"
static bool is_guest_ready(VirtIORNG *vrng)
{

View File

@ -35,7 +35,7 @@
#include <sys/signal.h>
#include "hw/hw.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/log.h"
#include "hw/xen/xen_backend.h"

View File

@ -36,7 +36,7 @@
#include "hw/sysbus.h"
#include "hw/block/flash.h"
#include "sysemu/blockdev.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "xtensa_bootparam.h"
typedef struct LxBoardDesc {

View File

@ -12,8 +12,8 @@
#ifndef _QEMU_VIRTIO_RNG_H
#define _QEMU_VIRTIO_RNG_H
#include "qemu/rng.h"
#include "qemu/rng-random.h"
#include "sysemu/rng.h"
#include "sysemu/rng-random.h"
/* The Virtio ID for the virtio rng device */
#define VIRTIO_ID_RNG 4

View File

@ -33,7 +33,7 @@
#include "exec/gdbstub.h"
#include "net/net.h"
#include "net/slirp.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/qemu-spice.h"
#include "sysemu/sysemu.h"
#include "monitor/monitor.h"

View File

@ -35,7 +35,7 @@
#include "monitor/monitor.h"
#include "qemu/sockets.h"
#include "slirp/libslirp.h"
#include "char/char.h"
#include "sysemu/char.h"
static int get_str_sep(char *buf, int buf_size, const char **pp, int sep)
{

View File

@ -26,7 +26,7 @@
#include "ui/console.h"
#include "sysemu/sysemu.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "hw/usb.h"
#include "qmp-commands.h"

2
qmp.c
View File

@ -16,7 +16,7 @@
#include "qemu-common.h"
#include "sysemu/sysemu.h"
#include "qmp-commands.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "ui/qemu-spice.h"
#include "ui/vnc.h"
#include "sysemu/kvm.h"

View File

@ -13,7 +13,7 @@
#include "sysemu/qtest.h"
#include "hw/qdev.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "exec/ioport.h"
#include "exec/memory.h"
#include "hw/irq.h"

View File

@ -23,7 +23,7 @@
*/
#include "qemu-common.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "slirp.h"
#include "hw/hw.h"

View File

@ -1,7 +1,7 @@
#include "config-host.h"
#include "trace.h"
#include "ui/qemu-spice.h"
#include "char/char.h"
#include "sysemu/char.h"
#include <spice.h>
#include <spice-experimental.h>
#include <spice/protocol.h>

2
tpm.c
View File

@ -15,7 +15,7 @@
#include "monitor/monitor.h"
#include "qapi/qmp/qerror.h"
#include "backends/tpm.h"
#include "sysemu/tpm_backend.h"
#include "sysemu/tpm.h"
#include "qemu/config-file.h"
#include "qmp-commands.h"

View File

@ -25,7 +25,7 @@
#include "ui/console.h"
#include "qemu/timer.h"
#include "qmp-commands.h"
#include "char/char.h"
#include "sysemu/char.h"
//#define DEBUG_CONSOLE
#define DEFAULT_BACKSCROLL 512

View File

@ -62,7 +62,7 @@
#include "qmp-commands.h"
#include "x_keymap.h"
#include "keymaps.h"
#include "char/char.h"
#include "sysemu/char.h"
//#define DEBUG_GTK

View File

@ -12,7 +12,7 @@
#include "qemu-common.h"
#include "qemu/event_notifier.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/main-loop.h"
#ifdef CONFIG_EVENTFD

4
vl.c
View File

@ -126,7 +126,7 @@ int main(int argc, char **argv)
#include "hw/qdev.h"
#include "hw/loader.h"
#include "monitor/qdev.h"
#include "bt/bt.h"
#include "sysemu/bt.h"
#include "net/net.h"
#include "net/slirp.h"
#include "monitor/monitor.h"
@ -134,7 +134,7 @@ int main(int argc, char **argv)
#include "sysemu/sysemu.h"
#include "exec/gdbstub.h"
#include "qemu/timer.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/cache-utils.h"
#include "sysemu/blockdev.h"
#include "hw/block/block.h"

View File

@ -16,7 +16,7 @@
#include "hw/xen/xen_backend.h"
#include "qmp-commands.h"
#include "char/char.h"
#include "sysemu/char.h"
#include "qemu/range.h"
#include "sysemu/xen-mapcache.h"
#include "trace.h"