Skip to content

Commit

Permalink
misc: move include files to include/qemu/
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
bonzini committed Dec 19, 2012
1 parent 14cccb6 commit 1de7afc
Show file tree
Hide file tree
Showing 496 changed files with 673 additions and 673 deletions.
2 changes: 1 addition & 1 deletion acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


#include "qemu-common.h"
#include "acl.h"
#include "qemu/acl.h"

#ifdef CONFIG_FNMATCH
#include <fnmatch.h>
Expand Down
4 changes: 2 additions & 2 deletions aio-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

#include "qemu-common.h"
#include "block/block.h"
#include "qemu-queue.h"
#include "qemu_socket.h"
#include "qemu/queue.h"
#include "qemu/sockets.h"

struct AioHandler
{
Expand Down
4 changes: 2 additions & 2 deletions aio-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

#include "qemu-common.h"
#include "block/block.h"
#include "qemu-queue.h"
#include "qemu_socket.h"
#include "qemu/queue.h"
#include "qemu/sockets.h"

struct AioHandler {
EventNotifier *e;
Expand Down
6 changes: 3 additions & 3 deletions arch_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include "config.h"
#include "monitor/monitor.h"
#include "sysemu.h"
#include "bitops.h"
#include "bitmap.h"
#include "qemu/bitops.h"
#include "qemu/bitmap.h"
#include "arch_init.h"
#include "audio/audio.h"
#include "hw/pc.h"
Expand All @@ -45,7 +45,7 @@
#include "exec/address-spaces.h"
#include "hw/pcspk.h"
#include "migration/page_cache.h"
#include "qemu-config.h"
#include "qemu/config-file.h"
#include "qmp-commands.h"
#include "trace.h"

Expand Down
2 changes: 1 addition & 1 deletion async.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "qemu-common.h"
#include "block/aio.h"
#include "main-loop.h"
#include "qemu/main-loop.h"

/***********************************************************/
/* bottom halves (can be seen as timers which expire ASAP) */
Expand Down
2 changes: 1 addition & 1 deletion audio/alsaaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include <alsa/asoundlib.h>
#include "qemu-common.h"
#include "main-loop.h"
#include "qemu/main-loop.h"
#include "audio.h"

#if QEMU_GNUC_PREREQ(4, 3)
Expand Down
2 changes: 1 addition & 1 deletion audio/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include "hw/hw.h"
#include "audio.h"
#include "monitor/monitor.h"
#include "qemu-timer.h"
#include "qemu/timer.h"
#include "sysemu.h"

#define AUDIO_CAP "audio"
Expand Down
2 changes: 1 addition & 1 deletion audio/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#define QEMU_AUDIO_H

#include "config-host.h"
#include "qemu-queue.h"
#include "qemu/queue.h"

typedef void (*audio_callback_fn) (void *opaque, int avail);

Expand Down
2 changes: 1 addition & 1 deletion audio/noaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include "qemu-common.h"
#include "audio.h"
#include "qemu-timer.h"
#include "qemu/timer.h"

#define AUDIO_CAP "noaudio"
#include "audio_int.h"
Expand Down
4 changes: 2 additions & 2 deletions audio/ossaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include <sys/soundcard.h>
#endif
#include "qemu-common.h"
#include "main-loop.h"
#include "host-utils.h"
#include "qemu/main-loop.h"
#include "qemu/host-utils.h"
#include "audio.h"

#define AUDIO_CAP "oss"
Expand Down
2 changes: 1 addition & 1 deletion audio/spiceaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

#include "hw/hw.h"
#include "qemu-timer.h"
#include "qemu/timer.h"
#include "ui/qemu-spice.h"

#define AUDIO_CAP "spice"
Expand Down
2 changes: 1 addition & 1 deletion audio/wavaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* THE SOFTWARE.
*/
#include "hw/hw.h"
#include "qemu-timer.h"
#include "qemu/timer.h"
#include "audio.h"

#define AUDIO_CAP "wav"
Expand Down
2 changes: 1 addition & 1 deletion backends/rng-random.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "qemu/rng-random.h"
#include "qemu/rng.h"
#include "qapi/qmp/qerror.h"
#include "main-loop.h"
#include "qemu/main-loop.h"

struct RndRandom
{
Expand Down
4 changes: 2 additions & 2 deletions bitmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
* Version 2.
*/

#include "bitops.h"
#include "bitmap.h"
#include "qemu/bitops.h"
#include "qemu/bitmap.h"

/*
* bitmaps provide an array of bits, implemented using an an
Expand Down
2 changes: 1 addition & 1 deletion bitops.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* 2 of the License, or (at your option) any later version.
*/

#include "bitops.h"
#include "qemu/bitops.h"

#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)

Expand Down
4 changes: 2 additions & 2 deletions block-migration.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
#include "qemu-common.h"
#include "block/block_int.h"
#include "hw/hw.h"
#include "qemu-queue.h"
#include "qemu-timer.h"
#include "qemu/queue.h"
#include "qemu/timer.h"
#include "migration/block.h"
#include "migration/migration.h"
#include "blockdev.h"
Expand Down
6 changes: 3 additions & 3 deletions block.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
#include "monitor/monitor.h"
#include "block/block_int.h"
#include "block/blockjob.h"
#include "module.h"
#include "qemu/module.h"
#include "qapi/qmp/qjson.h"
#include "sysemu.h"
#include "notify.h"
#include "qemu/notify.h"
#include "block/coroutine.h"
#include "qmp-commands.h"
#include "qemu-timer.h"
#include "qemu/timer.h"

#ifdef CONFIG_BSD
#include <sys/types.h>
Expand Down
4 changes: 2 additions & 2 deletions block/blkdebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
*/

#include "qemu-common.h"
#include "qemu-config.h"
#include "qemu/config-file.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"

typedef struct BDRVBlkdebugState {
int state;
Expand Down
2 changes: 1 addition & 1 deletion block/blkverify.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/

#include <stdarg.h>
#include "qemu_socket.h" /* for EINPROGRESS on Windows */
#include "qemu/sockets.h" /* for EINPROGRESS on Windows */
#include "block/block_int.h"

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion block/bochs.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"

/**************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion block/cloop.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"
#include <zlib.h>

typedef struct BDRVCloopState {
Expand Down
2 changes: 1 addition & 1 deletion block/cow.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"

/**************************************************************/
/* COW block driver using file system holes */
Expand Down
4 changes: 2 additions & 2 deletions block/dmg.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "bswap.h"
#include "module.h"
#include "qemu/bswap.h"
#include "qemu/module.h"
#include <zlib.h>

typedef struct BDRVDMGState {
Expand Down
4 changes: 2 additions & 2 deletions block/gluster.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*/
#include <glusterfs/api/glfs.h>
#include "block/block_int.h"
#include "qemu_socket.h"
#include "uri.h"
#include "qemu/sockets.h"
#include "qemu/uri.h"

typedef struct GlusterAIOCB {
BlockDriverAIOCB common;
Expand Down
4 changes: 2 additions & 2 deletions block/iscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
#include <poll.h>
#include <arpa/inet.h>
#include "qemu-common.h"
#include "qemu-config.h"
#include "qemu-error.h"
#include "qemu/config-file.h"
#include "qemu/error-report.h"
#include "block/block_int.h"
#include "trace.h"
#include "hw/scsi-defs.h"
Expand Down
4 changes: 2 additions & 2 deletions block/linux-aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
*/
#include "qemu-common.h"
#include "block/aio.h"
#include "qemu-queue.h"
#include "qemu/queue.h"
#include "block/raw-aio.h"
#include "event_notifier.h"
#include "qemu/event_notifier.h"

#include <libaio.h>

Expand Down
6 changes: 3 additions & 3 deletions block/nbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@

#include "qemu-common.h"
#include "block/nbd.h"
#include "uri.h"
#include "qemu/uri.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu_socket.h"
#include "qemu/module.h"
#include "qemu/sockets.h"

#include <sys/types.h>
#include <unistd.h>
Expand Down
2 changes: 1 addition & 1 deletion block/parallels.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"

/**************************************************************/

Expand Down
2 changes: 1 addition & 1 deletion block/qcow.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"
#include <zlib.h>
#include "block/aes.h"
#include "migration/migration.h"
Expand Down
4 changes: 2 additions & 2 deletions block/qcow2.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
*/
#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"
#include <zlib.h>
#include "block/aes.h"
#include "block/qcow2.h"
#include "qemu-error.h"
#include "qemu/error-report.h"
#include "qapi/qmp/qerror.h"
#include "trace.h"

Expand Down
2 changes: 1 addition & 1 deletion block/qed-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/

#include "trace.h"
#include "qemu_socket.h" /* for EINPROGRESS on Windows */
#include "qemu/sockets.h" /* for EINPROGRESS on Windows */
#include "qed.h"

typedef struct {
Expand Down
2 changes: 1 addition & 1 deletion block/qed.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
*/

#include "qemu-timer.h"
#include "qemu/timer.h"
#include "trace.h"
#include "qed.h"
#include "qapi/qmp/qerror.h"
Expand Down
8 changes: 4 additions & 4 deletions block/raw-posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
* THE SOFTWARE.
*/
#include "qemu-common.h"
#include "qemu-timer.h"
#include "qemu-log.h"
#include "qemu/timer.h"
#include "qemu/log.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"
#include "trace.h"
#include "block/thread-pool.h"
#include "iov.h"
#include "qemu/iov.h"
#include "raw-aio.h"

#if defined(__APPLE__) && (__MACH__)
Expand Down
6 changes: 3 additions & 3 deletions block/raw-win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
* THE SOFTWARE.
*/
#include "qemu-common.h"
#include "qemu-timer.h"
#include "qemu/timer.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"
#include "raw-aio.h"
#include "trace.h"
#include "block/thread-pool.h"
#include "iov.h"
#include "qemu/iov.h"
#include <windows.h>
#include <winioctl.h>

Expand Down
2 changes: 1 addition & 1 deletion block/raw.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#include "qemu-common.h"
#include "block/block_int.h"
#include "module.h"
#include "qemu/module.h"

static int raw_open(BlockDriverState *bs, int flags)
{
Expand Down
2 changes: 1 addition & 1 deletion block/rbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <inttypes.h>

#include "qemu-common.h"
#include "qemu-error.h"
#include "qemu/error-report.h"
#include "block/block_int.h"

#include <rbd/librbd.h>
Expand Down
Loading

0 comments on commit 1de7afc

Please sign in to comment.