Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
@@ -24,7 +24,7 @@
#include "qemu-common.h"
-#include "acl.h"
+#include "qemu/acl.h"
#ifdef CONFIG_FNMATCH
#include <fnmatch.h>
@@ -15,8 +15,8 @@
#include "block/block.h"
-#include "qemu-queue.h"
-#include "qemu_socket.h"
+#include "qemu/queue.h"
+#include "qemu/sockets.h"
struct AioHandler
{
@@ -17,8 +17,8 @@
struct AioHandler {
EventNotifier *e;
@@ -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"
@@ -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"
#include "block/aio.h"
-#include "main-loop.h"
+#include "qemu/main-loop.h"
/***********************************************************/
/* bottom halves (can be seen as timers which expire ASAP) */
@@ -23,7 +23,7 @@
*/
#include <alsa/asoundlib.h>
#include "audio.h"
#if QEMU_GNUC_PREREQ(4, 3)
#include "hw/hw.h"
-#include "qemu-timer.h"
+#include "qemu/timer.h"
#define AUDIO_CAP "audio"
@@ -25,7 +25,7 @@
#define QEMU_AUDIO_H
#include "config-host.h"
typedef void (*audio_callback_fn) (void *opaque, int avail);
#define AUDIO_CAP "noaudio"
#include "audio_int.h"
#include <sys/soundcard.h>
#endif
-#include "host-utils.h"
+#include "qemu/host-utils.h"
#define AUDIO_CAP "oss"
@@ -18,7 +18,7 @@
#include "ui/qemu-spice.h"
#define AUDIO_CAP "spice"
@@ -22,7 +22,7 @@
* THE SOFTWARE.
#define AUDIO_CAP "wav"
@@ -13,7 +13,7 @@
#include "qemu/rng-random.h"
#include "qemu/rng.h"
#include "qapi/qmp/qerror.h"
struct RndRandom
@@ -9,8 +9,8 @@
* Version 2.
/*
* bitmaps provide an array of bits, implemented using an an
@@ -11,7 +11,7 @@
* 2 of the License, or (at your option) any later version.
#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
@@ -16,8 +16,8 @@
#include "block/block_int.h"
#include "migration/block.h"
#include "migration/migration.h"
#include "blockdev.h"
@@ -27,13 +27,13 @@
#include "block/blockjob.h"
-#include "module.h"
+#include "qemu/module.h"
#include "qapi/qmp/qjson.h"
-#include "notify.h"
+#include "qemu/notify.h"
#include "block/coroutine.h"
#ifdef CONFIG_BSD
#include <sys/types.h>
@@ -23,9 +23,9 @@
typedef struct BDRVBlkdebugState {
int state;
@@ -8,7 +8,7 @@
#include <stdarg.h>
-#include "qemu_socket.h" /* for EINPROGRESS on Windows */
+#include "qemu/sockets.h" /* for EINPROGRESS on Windows */
typedef struct {
/**************************************************************/
#include <zlib.h>
typedef struct BDRVCloopState {
/* COW block driver using file system holes */
@@ -23,8 +23,8 @@
-#include "bswap.h"
+#include "qemu/bswap.h"
typedef struct BDRVDMGState {
#include <glusterfs/api/glfs.h>
-#include "uri.h"
+#include "qemu/uri.h"
typedef struct GlusterAIOCB {
BlockDriverAIOCB common;
@@ -27,8 +27,8 @@
#include <poll.h>
#include <arpa/inet.h>
-#include "qemu-error.h"
+#include "qemu/error-report.h"
#include "hw/scsi-defs.h"
@@ -9,9 +9,9 @@
#include "block/raw-aio.h"
-#include "event_notifier.h"
+#include "qemu/event_notifier.h"
#include <libaio.h>
@@ -28,10 +28,10 @@
#include "block/nbd.h"
#include <unistd.h>
#include "block/aes.h"
@@ -23,11 +23,11 @@
#include "block/qcow2.h"
#include "qed.h"
@@ -12,7 +12,7 @@
*
@@ -22,13 +22,13 @@
-#include "qemu-log.h"
+#include "qemu/log.h"
#include "block/thread-pool.h"
-#include "iov.h"
+#include "qemu/iov.h"
#include "raw-aio.h"
#if defined(__APPLE__) && (__MACH__)
#include <windows.h>
#include <winioctl.h>
@@ -1,7 +1,7 @@
static int raw_open(BlockDriverState *bs, int flags)
@@ -14,7 +14,7 @@
#include <inttypes.h>
#include <rbd/librbd.h>
@@ -13,10 +13,10 @@
#define SD_PROTO_VER 0x01
@@ -51,7 +51,7 @@
#if defined(CONFIG_UUID)
#include <uuid/uuid.h>
@@ -26,7 +26,7 @@
#include <dirent.h>
#ifndef S_IWGRP
@@ -17,7 +17,7 @@
static int server_fd = -1;
@@ -12,8 +12,8 @@
-#include "qemu-option.h"
+#include "qemu/option.h"
#include "qapi/qmp/types.h"
#include "qapi/error.h"
void blockdev_mark_auto_del(BlockDriverState *bs);
void blockdev_auto_del(BlockDriverState *bs);
@@ -33,7 +33,7 @@
void *block_job_create(const BlockJobType *job_type, BlockDriverState *bs,
int64_t speed, BlockDriverCompletionFunc *cb,
/* For tb_lock */
#include "cpu.h"
#include "tcg.h"
-#include "envlist.h"
+#include "qemu/envlist.h"
#define DEBUG_LOGFILE "/tmp/qemu.log"
@@ -146,7 +146,7 @@ int get_osversion(void);
void fork_start(void);
void fork_end(int child);
/* strace.c */
void
@@ -19,7 +19,7 @@
#include "bt-host.h"
#ifndef _WIN32
# include <errno.h>
@@ -20,7 +20,7 @@
#include "hw/bt.h"
#define VHCI_DEV "/dev/vhci"
#define VHCI_UDEV "/dev/hci_vhci"
@@ -15,7 +15,7 @@
#include "buffered_file.h"
//#define DEBUG_BUFFERED_FILE
@@ -1,4 +1,4 @@
-#include "cache-utils.h"
+#include "qemu/cache-utils.h"
#if defined(_ARCH_PPC)
struct qemu_cache_conf qemu_cache_conf = {
#include "cmd.h"
#define _(x) x /* not gettext support yet */
-#include "compatfd.h"
+#include "qemu/compatfd.h"
#include <sys/syscall.h>
#include <pthread.h>
#include "disas/disas.h"
-#include "qemu-barrier.h"
+#include "qemu/atomic.h"
#include "qtest.h"
int tb_invalidated_flag;
@@ -32,14 +32,14 @@
#include "kvm.h"
-#include "qemu-thread.h"
+#include "qemu/thread.h"
#include "cpus.h"
#ifdef CONFIG_LINUX
@@ -22,11 +22,11 @@
#include <math.h>
void strpadcpy(char *buf, int buf_size, const char *str, char pad)
@@ -22,8 +22,8 @@
#include "device_tree.h"
#include "hw/loader.h"
#include <libfdt.h>
#include "dma.h"
-#include "range.h"
+#include "qemu/range.h"
/* #define DEBUG_IOMMU */
@@ -4,8 +4,8 @@
#include <string.h>
struct envlist_entry {
const char *ev_var; /* actual env value */
@@ -11,9 +11,9 @@
#include "qemu-char.h"
#ifdef CONFIG_EVENTFD
#include <sys/eventfd.h>
@@ -11,8 +11,8 @@
int event_notifier_init(EventNotifier *e, int active)
@@ -29,11 +29,11 @@
#include "hw/qdev.h"
-#include "osdep.h"
+#include "qemu/osdep.h"
#include "hw/xen.h"
#include "exec/memory.h"
@@ -44,7 +44,7 @@ these four paragraphs for those parts of this code that are retained.
/*----------------------------------------------------------------------------
| Each of the following `typedef's defines the most convenient type that holds
@@ -13,8 +13,8 @@
#include <stdio.h>
#include "qemu-fsdev.h"
int qemu_fsdev_add(QemuOpts *opts)
static QTAILQ_HEAD(FsDriverEntry_head, FsDriverListEntry) fsdriver_entries =
QTAILQ_HEAD_INITIALIZER(fsdriver_entries);
#ifndef QEMU_FSDEV_H
#define QEMU_FSDEV_H
#include "file-op-9p.h"
@@ -21,8 +21,8 @@
#include <linux/magic.h>
-#include "qemu-xattr.h"
+#include "qemu/xattr.h"
#include "virtio-9p-marshal.h"
#include "hw/9pfs/virtio-9p-proxy.h"
#include "fsdev/virtio-9p-marshal.h"
@@ -22,9 +22,9 @@
#include <stdint.h>
#include <errno.h>
-#include "compiler.h"
+#include "qemu/compiler.h"
void v9fs_string_free(V9fsString *str)
@@ -38,7 +38,7 @@
#define MAX_PACKET_LENGTH 4096
#ifndef TARGET_CPU_MEMORY_RW_DEBUG
@@ -16,10 +16,10 @@
#include "hmp.h"
#include "net/net.h"
#include "ui/console.h"
#include <stdlib.h>
//#define DEBUG_MULDIV
#include "fsdev/qemu-fsdev.h"
#include "virtio-9p-coth.h"
#ifndef _QEMU_VIRTIO_9P_COTH_H
#define _QEMU_VIRTIO_9P_COTH_H
#include "virtio-9p.h"
#include <glib.h>
#include "hw/virtio.h"
#include "hw/virtio-pci.h"
#include <grp.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <linux/fs.h>
#ifdef CONFIG_LINUX_MAGIC_H
#include <libgen.h>
#include "fsdev/file-op-9p.h"
#ifndef _QEMU_VIRTIO_9P_XATTR_H
#define _QEMU_VIRTIO_9P_XATTR_H
typedef struct xattr_operations
@@ -9,7 +9,7 @@
@@ -127,7 +127,7 @@ void acpi_pm_tmr_init(ACPIREGS *ar, acpi_update_sci_fn update_sci,
MemoryRegion *parent);
void acpi_pm_tmr_reset(ACPIREGS *ar);
static inline int64_t acpi_pm_tmr_get_clock(void)
return muldiv64(qemu_get_clock_ns(vm_clock), PM_TIMER_FREQUENCY,
#include "hw.h"
#include "pc.h"
#include "pci/pci.h"
#include "acpi.h"
#include "exec/ioport.h"
#include "fw_cfg.h"
@@ -32,7 +32,7 @@
#define ADLIB_KILL_TIMERS 1
#ifdef DEBUG
#define dolog(...) AUD_log ("adlib", __VA_ARGS__)
#include "alpha_sys.h"
@@ -16,12 +16,12 @@
* 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 "apic_internal.h"
#include "apic.h"
#include "ioapic.h"
#include "pci/msi.h"
#include "apic-msidef.h"
#include "sysbus.h"
/* APIC Local Vector Table */
#define APIC_LVT_TIMER 0
#include "isa.h"
/* #define DEBUG_SMC */
/* MPCore private memory region. */
#include "loader.h"
#include "elf.h"
#define KERNEL_ARGS_ADDR 0x100
#define KERNEL_LOAD_ADDR 0x00010000
/* This device implements the per-cpu private timer and watchdog block
* which is used in both the ARM11MPCore and Cortex-A9MP.
#include "primecell.h"
#include "qdev.h"
#include "ptimer.h"
#include "arm-misc.h"
#include "arm_gic_internal.h"
#include "usb.h"
#include "baum.h"
#include <brlapi.h>