]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Move hardware drivers to hw directory
authorPekka Enberg <penberg@kernel.org>
Wed, 18 May 2011 19:52:37 +0000 (22:52 +0300)
committerPekka Enberg <penberg@kernel.org>
Wed, 18 May 2011 19:52:37 +0000 (22:52 +0300)
This patch moves hypervisor native hardware emulation drivers to "hw" directory
like we've done for virtio and disk image code.

Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/Makefile
tools/kvm/hw/rtc.c [moved from tools/kvm/rtc.c with 100% similarity]
tools/kvm/hw/serial.c [moved from tools/kvm/8250-serial.c with 100% similarity]

index 61941f12ce6ea1dddc725afee756cb0bd9d423d8..30f0f61bb62971d68f5943803462b35671620421 100644 (file)
@@ -15,7 +15,6 @@ FIND = find
 CSCOPE = cscope
 TAGS = ctags
 
-OBJS   += 8250-serial.o
 OBJS   += cpuid.o
 OBJS   += read-write.o
 OBJS   += interrupt.o
@@ -25,7 +24,8 @@ OBJS  += kvm-cpu.o
 OBJS   += main.o
 OBJS   += mmio.o
 OBJS   += pci.o
-OBJS   += rtc.o
+OBJS   += hw/rtc.o
+OBJS   += hw/serial.o
 OBJS   += term.o
 OBJS   += util.o
 OBJS   += virtio/blk.o
similarity index 100%
rename from tools/kvm/rtc.c
rename to tools/kvm/hw/rtc.c