]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
move xen-mapcache.c to hw/i386/xen/
authorAnthony Xu <anthony.xu@intel.com>
Wed, 5 Apr 2017 23:21:31 +0000 (16:21 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 25 Apr 2017 18:04:34 +0000 (11:04 -0700)
move xen-mapcache.c to hw/i386/xen/

Signed-off -by: Anthony Xu <anthony.xu@intel.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Makefile.target
default-configs/i386-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/i386/xen/Makefile.objs
hw/i386/xen/trace-events
hw/i386/xen/xen-mapcache.c [moved from xen-mapcache.c with 99% similarity]
trace-events

index d5ff0c736d54389fc6ed5430ac9546c1010aee3a..a535980110087a0958357fd714ce7f2dc76cec6b 100644 (file)
@@ -149,9 +149,6 @@ obj-y += dump.o
 obj-y += migration/ram.o migration/savevm.o
 LIBS := $(libs_softmmu) $(LIBS)
 
-# xen support
-obj-$(CONFIG_XEN_I386) += xen-mapcache.o
-
 # Hardware support
 ifeq ($(TARGET_NAME), sparc64)
 obj-y += hw/sparc64/
index 029e95202ae6f0d688ab0ef1e3960f87929dbdae..d2ab2f6655aa4c54ec539c39e2c355beda10e8b1 100644 (file)
@@ -39,7 +39,6 @@ CONFIG_TPM_TIS=$(CONFIG_TPM)
 CONFIG_MC146818RTC=y
 CONFIG_PCI_PIIX=y
 CONFIG_WDT_IB700=y
-CONFIG_XEN_I386=$(CONFIG_XEN)
 CONFIG_ISA_DEBUG=y
 CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
index d1d7432f745e39e79e16da4111566c9457994d48..9bde2f1c4bd8a0f38ed0f0408f25d4d4c969f614 100644 (file)
@@ -39,7 +39,6 @@ CONFIG_TPM_TIS=$(CONFIG_TPM)
 CONFIG_MC146818RTC=y
 CONFIG_PCI_PIIX=y
 CONFIG_WDT_IB700=y
-CONFIG_XEN_I386=$(CONFIG_XEN)
 CONFIG_ISA_DEBUG=y
 CONFIG_ISA_TESTDEV=y
 CONFIG_VMPORT=y
index daf4f53fb0fb36b4f7698568d40216289ced6061..be9d10cf2a1194c1af2a47b245e4c5f1ec7c8405 100644 (file)
@@ -1 +1 @@
-obj-y += xen_platform.o xen_apic.o xen_pvdevice.o xen-hvm.o
+obj-y += xen_platform.o xen_apic.o xen_pvdevice.o xen-hvm.o xen-mapcache.o
index f25d622d0949f5ef6aa0ec25df53b861eb4b99e0..547438db13580e27bed201965aa9d29a86264562 100644 (file)
@@ -15,3 +15,9 @@ cpu_ioreq_pio(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64
 cpu_ioreq_pio_read_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio read reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
 cpu_ioreq_pio_write_reg(void *req, uint64_t data, uint64_t addr, uint32_t size) "I/O=%p pio write reg data=%#"PRIx64" port=%#"PRIx64" size=%d"
 cpu_ioreq_move(void *req, uint32_t dir, uint32_t df, uint32_t data_is_ptr, uint64_t addr, uint64_t data, uint32_t count, uint32_t size) "I/O=%p copy dir=%d df=%d ptr=%d port=%#"PRIx64" data=%#"PRIx64" count=%d size=%d"
+
+# xen-mapcache.c
+xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
+xen_remap_bucket(uint64_t index) "index %#"PRIx64
+xen_map_cache_return(void* ptr) "%p"
+
similarity index 99%
rename from xen-mapcache.c
rename to hw/i386/xen/xen-mapcache.c
index 1a96d2e5dbeb4259fb7ce6c7eec61e2b9b220e10..31debdfb2c5e50d80fbe1b01e2406751d91c2055 100644 (file)
@@ -19,7 +19,7 @@
 #include <xen/hvm/params.h>
 
 #include "sysemu/xen-mapcache.h"
-#include "trace-root.h"
+#include "trace.h"
 
 
 //#define MAPCACHE_DEBUG
index 4e1448786f2123bd1f1c87c827f3824ce98f9783..e582d6315dfa2ee9a38e1a5bde8e061340128268 100644 (file)
@@ -48,11 +48,6 @@ spice_vmc_register_interface(void *scd) "spice vmc registered interface %p"
 spice_vmc_unregister_interface(void *scd) "spice vmc unregistered interface %p"
 spice_vmc_event(int event) "spice vmc event %d"
 
-# xen-mapcache.c
-xen_map_cache(uint64_t phys_addr) "want %#"PRIx64
-xen_remap_bucket(uint64_t index) "index %#"PRIx64
-xen_map_cache_return(void* ptr) "%p"
-
 # monitor.c
 monitor_protocol_event_handler(uint32_t event, void *qdict) "event=%d data=%p"
 monitor_protocol_event_emit(uint32_t event, void *data) "event=%d data=%p"