hw: move hw/kvm/ to hw/i386/kvm
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Feb 2013 15:36:44 +0000 (16:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Apr 2013 16:13:16 +0000 (18:13 +0200)
Peter requested the KVM GIC to be in hw/intc.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/Makefile.objs
hw/i386/kvm/Makefile.objs [new file with mode: 0644]
hw/i386/kvm/apic.c [moved from hw/kvm/apic.c with 100% similarity]
hw/i386/kvm/clock.c [moved from hw/kvm/clock.c with 100% similarity]
hw/i386/kvm/i8254.c [moved from hw/kvm/i8254.c with 100% similarity]
hw/i386/kvm/i8259.c [moved from hw/kvm/i8259.c with 100% similarity]
hw/i386/kvm/ioapic.c [moved from hw/kvm/ioapic.c with 100% similarity]
hw/i386/kvm/pci-assign.c [moved from hw/kvm/pci-assign.c with 100% similarity]
hw/kvm/Makefile.objs [deleted file]

index c1d73a8..205d22e 100644 (file)
@@ -1,7 +1,4 @@
-obj-y += kvm/
-
-obj-y := $(addprefix ../,$(obj-y))
-
+obj-$(CONFIG_KVM) += kvm/
 obj-y += multiboot.o smbios.o
 obj-y += pc.o pc_piix.o pc_q35.o
 obj-$(CONFIG_XEN) += xen_domainbuild.o xen_machine_pv.o
diff --git a/hw/i386/kvm/Makefile.objs b/hw/i386/kvm/Makefile.objs
new file mode 100644 (file)
index 0000000..d8bce20
--- /dev/null
@@ -0,0 +1 @@
+obj-y += clock.o apic.o i8259.o ioapic.o i8254.o pci-assign.o
similarity index 100%
rename from hw/kvm/apic.c
rename to hw/i386/kvm/apic.c
similarity index 100%
rename from hw/kvm/clock.c
rename to hw/i386/kvm/clock.c
similarity index 100%
rename from hw/kvm/i8254.c
rename to hw/i386/kvm/i8254.c
similarity index 100%
rename from hw/kvm/i8259.c
rename to hw/i386/kvm/i8259.c
similarity index 100%
rename from hw/kvm/ioapic.c
rename to hw/i386/kvm/ioapic.c
similarity index 100%
rename from hw/kvm/pci-assign.c
rename to hw/i386/kvm/pci-assign.c
diff --git a/hw/kvm/Makefile.objs b/hw/kvm/Makefile.objs
deleted file mode 100644 (file)
index f620d7f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-obj-$(CONFIG_KVM) += clock.o apic.o i8259.o ioapic.o i8254.o pci-assign.o