@@ -235,7 +235,7 @@ M: Paolo Bonzini <pbonzini@redhat.com>
M: Richard Henderson <rth@twiddle.net>
M: Eduardo Habkost <ehabkost@redhat.com>
S: Maintained
-F: target-i386/
+F: target/i386/
F: hw/i386/
F: disas/i386.c
@@ -301,7 +301,7 @@ M: Paolo Bonzini <pbonzini@redhat.com>
M: Marcelo Tosatti <mtosatti@redhat.com>
L: kvm@vger.kernel.org
S: Supported
-F: target-i386/kvm.c
+F: target/i386/kvm.c
Guest CPU Cores (Xen):
----------------------
@@ -156,7 +156,7 @@ trace-events-y += ui/trace-events
trace-events-y += audio/trace-events
trace-events-y += net/trace-events
trace-events-y += target/arm/trace-events
-trace-events-y += target-i386/trace-events
+trace-events-y += target/i386/trace-events
trace-events-y += target-sparc/trace-events
trace-events-y += target-s390x/trace-events
trace-events-y += target/ppc/trace-events
@@ -29,7 +29,7 @@
#include "hw/pci/pci.h"
#include "qom/cpu.h"
#include "hw/i386/pc.h"
-#include "target-i386/cpu.h"
+#include "target/i386/cpu.h"
#include "hw/timer/hpet.h"
#include "hw/acpi/acpi-defs.h"
#include "hw/acpi/acpi.h"
@@ -15,7 +15,7 @@
#include "hw/i386/apic_internal.h"
#include "hw/pci/msi.h"
#include "sysemu/kvm.h"
-#include "target-i386/kvm_i386.h"
+#include "target/i386/kvm_i386.h"
static inline void kvm_apic_set_reg(struct kvm_lapic_state *kapic,
int reg_id, uint32_t val)
@@ -30,7 +30,7 @@
#include "hw/i386/ioapic_internal.h"
#include "include/hw/pci/msi.h"
#include "sysemu/kvm.h"
-#include "target-i386/cpu.h"
+#include "target/i386/cpu.h"
#include "hw/i386/apic-msidef.h"
#include "hw/i386/x86-iommu.h"
@@ -17,7 +17,7 @@
#include "hw/qdev.h"
#include "hw/isa/isa.h"
#include "sysemu/kvm.h"
-#include "target-i386/hyperv.h"
+#include "target/i386/hyperv.h"
#include "kvm_i386.h"
#define HV_TEST_DEV_MAX_SINT_ROUTES 64
@@ -95,8 +95,8 @@ analyze -include ../include/qemu/osdep.h ../include/hw/hw.h
echo trace/generated-tracers.h:
analyze -include ../include/qemu/osdep.h trace/generated-tracers.h
-echo target-i386/cpu.h:
-analyze -DNEED_CPU_H -I../target-i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../target-i386/cpu.h
+echo target/i386/cpu.h:
+analyze -DNEED_CPU_H -I../target/i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../target-i386/cpu.h
echo hw/hw.h + NEED_CPU_H:
-analyze -DNEED_CPU_H -I../target-i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../include/hw/hw.h
+analyze -DNEED_CPU_H -I../target/i386 -Ii386-softmmu -include ../include/qemu/osdep.h ../include/hw/hw.h
similarity index 100%
rename from target-i386/Makefile.objs
rename to target/i386/Makefile.objs
similarity index 100%
rename from target-i386/TODO
rename to target/i386/TODO
similarity index 100%
rename from target-i386/arch_dump.c
rename to target/i386/arch_dump.c
similarity index 100%
rename from target-i386/arch_memory_mapping.c
rename to target/i386/arch_memory_mapping.c
similarity index 100%
rename from target-i386/bpt_helper.c
rename to target/i386/bpt_helper.c
similarity index 100%
rename from target-i386/cc_helper.c
rename to target/i386/cc_helper.c
similarity index 100%
rename from target-i386/cc_helper_template.h
rename to target/i386/cc_helper_template.h
similarity index 100%
rename from target-i386/cpu-qom.h
rename to target/i386/cpu-qom.h
similarity index 100%
rename from target-i386/cpu.c
rename to target/i386/cpu.c
similarity index 100%
rename from target-i386/cpu.h
rename to target/i386/cpu.h
similarity index 100%
rename from target-i386/excp_helper.c
rename to target/i386/excp_helper.c
similarity index 100%
rename from target-i386/fpu_helper.c
rename to target/i386/fpu_helper.c
similarity index 100%
rename from target-i386/gdbstub.c
rename to target/i386/gdbstub.c
similarity index 100%
rename from target-i386/helper.c
rename to target/i386/helper.c
similarity index 100%
rename from target-i386/helper.h
rename to target/i386/helper.h
similarity index 100%
rename from target-i386/hyperv.c
rename to target/i386/hyperv.c
similarity index 100%
rename from target-i386/hyperv.h
rename to target/i386/hyperv.h
similarity index 100%
rename from target-i386/int_helper.c
rename to target/i386/int_helper.c
similarity index 100%
rename from target-i386/kvm-stub.c
rename to target/i386/kvm-stub.c
similarity index 100%
rename from target-i386/kvm.c
rename to target/i386/kvm.c
similarity index 100%
rename from target-i386/kvm_i386.h
rename to target/i386/kvm_i386.h
similarity index 100%
rename from target-i386/machine.c
rename to target/i386/machine.c
similarity index 100%
rename from target-i386/mem_helper.c
rename to target/i386/mem_helper.c
similarity index 100%
rename from target-i386/misc_helper.c
rename to target/i386/misc_helper.c
similarity index 100%
rename from target-i386/monitor.c
rename to target/i386/monitor.c
similarity index 100%
rename from target-i386/mpx_helper.c
rename to target/i386/mpx_helper.c
similarity index 100%
rename from target-i386/ops_sse.h
rename to target/i386/ops_sse.h
similarity index 100%
rename from target-i386/ops_sse_header.h
rename to target/i386/ops_sse_header.h
similarity index 100%
rename from target-i386/seg_helper.c
rename to target/i386/seg_helper.c
similarity index 100%
rename from target-i386/shift_helper_template.h
rename to target/i386/shift_helper_template.h
similarity index 100%
rename from target-i386/smm_helper.c
rename to target/i386/smm_helper.c
similarity index 100%
rename from target-i386/svm.h
rename to target/i386/svm.h
similarity index 100%
rename from target-i386/svm_helper.c
rename to target/i386/svm_helper.c
similarity index 94%
rename from target-i386/trace-events
rename to target/i386/trace-events
@@ -1,6 +1,6 @@
# See docs/tracing.txt for syntax documentation.
-# target-i386/kvm.c
+# target/i386/kvm.c
kvm_x86_fixup_msi_error(uint32_t gsi) "VT-d failed to remap interrupt for GSI %" PRIu32
kvm_x86_add_msi_route(int virq) "Adding route entry for virq %d"
kvm_x86_remove_msi_route(int virq) "Removing route entry for virq %d"
similarity index 100%
rename from target-i386/translate.c
rename to target/i386/translate.c
Signed-off-by: Thomas Huth <thuth@redhat.com> --- MAINTAINERS | 4 ++-- Makefile.objs | 2 +- hw/i386/acpi-build.c | 2 +- hw/i386/kvm/apic.c | 2 +- hw/intc/ioapic.c | 2 +- hw/misc/hyperv_testdev.c | 2 +- scripts/analyze-inclusions | 6 +++--- {target-i386 => target/i386}/Makefile.objs | 0 {target-i386 => target/i386}/TODO | 0 {target-i386 => target/i386}/arch_dump.c | 0 {target-i386 => target/i386}/arch_memory_mapping.c | 0 {target-i386 => target/i386}/bpt_helper.c | 0 {target-i386 => target/i386}/cc_helper.c | 0 {target-i386 => target/i386}/cc_helper_template.h | 0 {target-i386 => target/i386}/cpu-qom.h | 0 {target-i386 => target/i386}/cpu.c | 0 {target-i386 => target/i386}/cpu.h | 0 {target-i386 => target/i386}/excp_helper.c | 0 {target-i386 => target/i386}/fpu_helper.c | 0 {target-i386 => target/i386}/gdbstub.c | 0 {target-i386 => target/i386}/helper.c | 0 {target-i386 => target/i386}/helper.h | 0 {target-i386 => target/i386}/hyperv.c | 0 {target-i386 => target/i386}/hyperv.h | 0 {target-i386 => target/i386}/int_helper.c | 0 {target-i386 => target/i386}/kvm-stub.c | 0 {target-i386 => target/i386}/kvm.c | 0 {target-i386 => target/i386}/kvm_i386.h | 0 {target-i386 => target/i386}/machine.c | 0 {target-i386 => target/i386}/mem_helper.c | 0 {target-i386 => target/i386}/misc_helper.c | 0 {target-i386 => target/i386}/monitor.c | 0 {target-i386 => target/i386}/mpx_helper.c | 0 {target-i386 => target/i386}/ops_sse.h | 0 {target-i386 => target/i386}/ops_sse_header.h | 0 {target-i386 => target/i386}/seg_helper.c | 0 {target-i386 => target/i386}/shift_helper_template.h | 0 {target-i386 => target/i386}/smm_helper.c | 0 {target-i386 => target/i386}/svm.h | 0 {target-i386 => target/i386}/svm_helper.c | 0 {target-i386 => target/i386}/trace-events | 2 +- {target-i386 => target/i386}/translate.c | 0 42 files changed, 11 insertions(+), 11 deletions(-) rename {target-i386 => target/i386}/Makefile.objs (100%) rename {target-i386 => target/i386}/TODO (100%) rename {target-i386 => target/i386}/arch_dump.c (100%) rename {target-i386 => target/i386}/arch_memory_mapping.c (100%) rename {target-i386 => target/i386}/bpt_helper.c (100%) rename {target-i386 => target/i386}/cc_helper.c (100%) rename {target-i386 => target/i386}/cc_helper_template.h (100%) rename {target-i386 => target/i386}/cpu-qom.h (100%) rename {target-i386 => target/i386}/cpu.c (100%) rename {target-i386 => target/i386}/cpu.h (100%) rename {target-i386 => target/i386}/excp_helper.c (100%) rename {target-i386 => target/i386}/fpu_helper.c (100%) rename {target-i386 => target/i386}/gdbstub.c (100%) rename {target-i386 => target/i386}/helper.c (100%) rename {target-i386 => target/i386}/helper.h (100%) rename {target-i386 => target/i386}/hyperv.c (100%) rename {target-i386 => target/i386}/hyperv.h (100%) rename {target-i386 => target/i386}/int_helper.c (100%) rename {target-i386 => target/i386}/kvm-stub.c (100%) rename {target-i386 => target/i386}/kvm.c (100%) rename {target-i386 => target/i386}/kvm_i386.h (100%) rename {target-i386 => target/i386}/machine.c (100%) rename {target-i386 => target/i386}/mem_helper.c (100%) rename {target-i386 => target/i386}/misc_helper.c (100%) rename {target-i386 => target/i386}/monitor.c (100%) rename {target-i386 => target/i386}/mpx_helper.c (100%) rename {target-i386 => target/i386}/ops_sse.h (100%) rename {target-i386 => target/i386}/ops_sse_header.h (100%) rename {target-i386 => target/i386}/seg_helper.c (100%) rename {target-i386 => target/i386}/shift_helper_template.h (100%) rename {target-i386 => target/i386}/smm_helper.c (100%) rename {target-i386 => target/i386}/svm.h (100%) rename {target-i386 => target/i386}/svm_helper.c (100%) rename {target-i386 => target/i386}/trace-events (94%) rename {target-i386 => target/i386}/translate.c (100%)