[tip:tools/kvm] kvm tools: Move hardware drivers to hw directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  6ee797c1956926144db6082a8c3b6c86abe08407
Gitweb:     http://git.kernel.org/tip/6ee797c1956926144db6082a8c3b6c86abe08407
Author:     Pekka Enberg <penberg@xxxxxxxxxx>
AuthorDate: Wed, 18 May 2011 22:52:37 +0300
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Wed, 18 May 2011 22:52:37 +0300

kvm tools: Move hardware drivers to hw directory

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@xxxxxxxxx>
Acked-by: Ingo Molnar <mingo@xxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 tools/kvm/Makefile                       |    4 ++--
 tools/kvm/{ => hw}/rtc.c                 |    0
 tools/kvm/{8250-serial.c => hw/serial.c} |    0
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile
index 61941f1..30f0f61 100644
--- a/tools/kvm/Makefile
+++ b/tools/kvm/Makefile
@@ -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
diff --git a/tools/kvm/rtc.c b/tools/kvm/hw/rtc.c
similarity index 100%
rename from tools/kvm/rtc.c
rename to tools/kvm/hw/rtc.c
diff --git a/tools/kvm/8250-serial.c b/tools/kvm/hw/serial.c
similarity index 100%
rename from tools/kvm/8250-serial.c
rename to tools/kvm/hw/serial.c
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux