Skip to content

Commit

Permalink
qom: move include files to include/qom/
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 caf71f8 commit 14cccb6
Show file tree
Hide file tree
Showing 27 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion hw/qdev-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "qemu-queue.h"
#include "qemu-option.h"
#include "qemu-types.h"
#include "qemu/object.h"
#include "qom/object.h"
#include "hw/irq.h"
#include "qapi/error.h"

Expand Down
2 changes: 1 addition & 1 deletion hw/stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define STREAM_H 1

#include "qemu-common.h"
#include "qemu/object.h"
#include "qom/object.h"

/* stream slave. Used until qdev provides a generic way. */
#define TYPE_STREAM_SLAVE "stream-slave"
Expand Down
2 changes: 1 addition & 1 deletion include/qemu/rng-random.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef QEMU_RNG_RANDOM_H
#define QEMU_RNG_RANDOM_H

#include "qemu/object.h"
#include "qom/object.h"

#define TYPE_RNG_RANDOM "rng-random"
#define RNG_RANDOM(obj) OBJECT_CHECK(RndRandom, (obj), TYPE_RNG_RANDOM)
Expand Down
2 changes: 1 addition & 1 deletion include/qemu/rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef QEMU_RNG_H
#define QEMU_RNG_H

#include "qemu/object.h"
#include "qom/object.h"
#include "qemu-common.h"
#include "qapi/error.h"

Expand Down
2 changes: 1 addition & 1 deletion include/qemu/cpu.h → include/qom/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_CPU_H
#define QEMU_CPU_H

#include "qemu/object.h"
#include "qom/object.h"
#include "qemu-thread.h"

/**
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion include/qemu/qom-qobject.h → include/qom/qom-qobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef QEMU_QOM_QOBJECT_H
#define QEMU_QOM_QOBJECT_H

#include "qemu/object.h"
#include "qom/object.h"

/*
* object_property_get_qobject:
Expand Down
2 changes: 1 addition & 1 deletion qmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "arch_init.h"
#include "hw/qdev.h"
#include "blockdev.h"
#include "qemu/qom-qobject.h"
#include "qom/qom-qobject.h"

NameInfo *qmp_query_name(Error **errp)
{
Expand Down
2 changes: 1 addition & 1 deletion qom/container.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/object.h"
#include "qom/object.h"
#include "module.h"
#include <assert.h>

Expand Down
2 changes: 1 addition & 1 deletion qom/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* <http://www.gnu.org/licenses/gpl-2.0.html>
*/

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "qemu-common.h"

void cpu_reset(CPUState *cpu)
Expand Down
4 changes: 2 additions & 2 deletions qom/object.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the COPYING file in the top-level directory.
*/

#include "qemu/object.h"
#include "qom/object.h"
#include "qemu-common.h"
#include "qapi/visitor.h"
#include "qapi/string-input-visitor.h"
Expand All @@ -19,7 +19,7 @@

/* TODO: replace QObject with a simpler visitor to avoid a dependency
* of the QOM core on QObject? */
#include "qemu/qom-qobject.h"
#include "qom/qom-qobject.h"
#include "qapi/qmp/qobject.h"
#include "qapi/qmp/qbool.h"
#include "qapi/qmp/qint.h"
Expand Down
4 changes: 2 additions & 2 deletions qom/qom-qobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
*/

#include "qemu-common.h"
#include "qemu/object.h"
#include "qemu/qom-qobject.h"
#include "qom/object.h"
#include "qom/qom-qobject.h"
#include "qapi/visitor.h"
#include "qapi/qmp-input-visitor.h"
#include "qapi/qmp-output-visitor.h"
Expand Down
2 changes: 1 addition & 1 deletion target-alpha/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_ALPHA_CPU_QOM_H
#define QEMU_ALPHA_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_ALPHA_CPU "alpha-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-arm/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_ARM_CPU_QOM_H
#define QEMU_ARM_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#define TYPE_ARM_CPU "arm-cpu"

Expand Down
2 changes: 1 addition & 1 deletion target-cris/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_CRIS_CPU_QOM_H
#define QEMU_CRIS_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#define TYPE_CRIS_CPU "cris-cpu"

Expand Down
2 changes: 1 addition & 1 deletion target-i386/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_I386_CPU_QOM_H
#define QEMU_I386_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"
#include "qapi/error.h"

Expand Down
2 changes: 1 addition & 1 deletion target-lm32/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_LM32_CPU_QOM_H
#define QEMU_LM32_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_LM32_CPU "lm32-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-m68k/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_M68K_CPU_QOM_H
#define QEMU_M68K_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#define TYPE_M68K_CPU "m68k-cpu"

Expand Down
2 changes: 1 addition & 1 deletion target-microblaze/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_MICROBLAZE_CPU_QOM_H
#define QEMU_MICROBLAZE_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#define TYPE_MICROBLAZE_CPU "microblaze-cpu"

Expand Down
2 changes: 1 addition & 1 deletion target-mips/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_MIPS_CPU_QOM_H
#define QEMU_MIPS_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#ifdef TARGET_MIPS64
#define TYPE_MIPS_CPU "mips64-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-openrisc/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct OpenRISCCPU;
#include "qemu-common.h"
#include "exec/cpu-defs.h"
#include "softfloat.h"
#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "qapi/error.h"

#define TYPE_OPENRISC_CPU "or32-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-ppc/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_PPC_CPU_QOM_H
#define QEMU_PPC_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#ifdef TARGET_PPC64
Expand Down
2 changes: 1 addition & 1 deletion target-s390x/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_S390_CPU_QOM_H
#define QEMU_S390_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_S390_CPU "s390-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-sh4/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_SUPERH_CPU_QOM_H
#define QEMU_SUPERH_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"

#define TYPE_SUPERH_CPU "superh-cpu"

Expand Down
2 changes: 1 addition & 1 deletion target-sparc/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#ifndef QEMU_SPARC_CPU_QOM_H
#define QEMU_SPARC_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#ifdef TARGET_SPARC64
Expand Down
2 changes: 1 addition & 1 deletion target-unicore32/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef QEMU_UC32_CPU_QOM_H
#define QEMU_UC32_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_UNICORE32_CPU "unicore32-cpu"
Expand Down
2 changes: 1 addition & 1 deletion target-xtensa/cpu-qom.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#ifndef QEMU_XTENSA_CPU_QOM_H
#define QEMU_XTENSA_CPU_QOM_H

#include "qemu/cpu.h"
#include "qom/cpu.h"
#include "cpu.h"

#define TYPE_XTENSA_CPU "xtensa-cpu"
Expand Down

0 comments on commit 14cccb6

Please sign in to comment.