xen: rename xen_modified_memory() to xen_hvm_modified_memory()
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 7 Mar 2017 10:55:31 +0000 (10:55 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 22 Mar 2017 18:47:39 +0000 (11:47 -0700)
This patch is a purely cosmetic change that avoids a name collision in
a subsequent patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Anthony Perard <anthony.perard@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
include/exec/ram_addr.h
include/hw/xen/xen.h
xen-hvm-stub.c
xen-hvm.c

index b05dc84ab9fc15d126d2cef1e0a6937816909c2c..29647303b01b2d30ff56b0e1c01e13860c156b9a 100644 (file)
@@ -260,7 +260,7 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
 
     rcu_read_unlock();
 
-    xen_modified_memory(start, length);
+    xen_hvm_modified_memory(start, length);
 }
 
 #if !defined(_WIN32)
@@ -314,7 +314,7 @@ static inline void cpu_physical_memory_set_dirty_lebitmap(unsigned long *bitmap,
 
         rcu_read_unlock();
 
-        xen_modified_memory(start, pages << TARGET_PAGE_BITS);
+        xen_hvm_modified_memory(start, pages << TARGET_PAGE_BITS);
     } else {
         uint8_t clients = tcg_enabled() ? DIRTY_CLIENTS_ALL : DIRTY_CLIENTS_NOCODE;
         /*
index 09c2ce5170d72adad92a653bfda7230c6b8fba5b..2b1733b7478fd338450505ee53c682ed1b9aa6b9 100644 (file)
@@ -43,7 +43,7 @@ void xen_hvm_init(PCMachineState *pcms, MemoryRegion **ram_memory);
 
 void xen_ram_alloc(ram_addr_t ram_addr, ram_addr_t size,
                    struct MemoryRegion *mr, Error **errp);
-void xen_modified_memory(ram_addr_t start, ram_addr_t length);
+void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length);
 
 void xen_register_framebuffer(struct MemoryRegion *mr);
 
index c5003251cb8500d328052a08f9467b7c84b279f1..3ca6c51b212cc2a4f89bdd29ae8908878adbc2bc 100644 (file)
@@ -50,7 +50,7 @@ void xen_register_framebuffer(MemoryRegion *mr)
 {
 }
 
-void xen_modified_memory(ram_addr_t start, ram_addr_t length)
+void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length)
 {
 }
 
index dbb8c66dd36ce1cc047e682867cbdd44c33b0451..edf498370236422cbd1a26001c00d7efdebde101 100644 (file)
--- a/xen-hvm.c
+++ b/xen-hvm.c
@@ -1391,7 +1391,7 @@ void xen_shutdown_fatal_error(const char *fmt, ...)
     qemu_system_shutdown_request();
 }
 
-void xen_modified_memory(ram_addr_t start, ram_addr_t length)
+void xen_hvm_modified_memory(ram_addr_t start, ram_addr_t length)
 {
     if (unlikely(xen_in_migration)) {
         int rc;