Blame SOURCES/kvm-memory-s-mask-clear-cpu_physical_memory_mask_dirty_r.patch

0a122b
From 7565f009dfdc2a54fab24deb0a5887be00777acc Mon Sep 17 00:00:00 2001
0a122b
From: Juan Quintela <quintela@redhat.com>
0a122b
Date: Tue, 14 Jan 2014 15:07:35 +0100
0a122b
Subject: [PATCH 24/40] memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range
0a122b
0a122b
RH-Author: Juan Quintela <quintela@redhat.com>
0a122b
Message-id: <1389712071-23303-25-git-send-email-quintela@redhat.com>
0a122b
Patchwork-id: 56679
0a122b
O-Subject: [RHEL7 qemu-kvm PATCH 24/40] memory: s/mask/clear/ cpu_physical_memory_mask_dirty_range
0a122b
Bugzilla: 997559
0a122b
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
0a122b
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
0a122b
RH-Acked-by: Dr. David Alan Gilbert (git) <dgilbert@redhat.com>
0a122b
0a122b
Now all functions use the same wording that bitops/bitmap operations
0a122b
0a122b
Signed-off-by: Juan Quintela <quintela@redhat.com>
0a122b
Reviewed-by: Eric Blake <eblake@redhat.com>
0a122b
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
0a122b
(cherry picked from commit ace694cccccf343852d9f0b34171ad475e248bbf)
0a122b
Signed-off-by: Juan Quintela <quintela@trasno.org>
0a122b
---
0a122b
 exec.c                         | 2 +-
0a122b
 include/exec/memory-internal.h | 6 +++---
0a122b
 2 files changed, 4 insertions(+), 4 deletions(-)
0a122b
0a122b
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
0a122b
---
0a122b
 exec.c                         |    2 +-
0a122b
 include/exec/memory-internal.h |    6 +++---
0a122b
 2 files changed, 4 insertions(+), 4 deletions(-)
0a122b
0a122b
diff --git a/exec.c b/exec.c
0a122b
index 45b2c46..77c2a0a 100644
0a122b
--- a/exec.c
0a122b
+++ b/exec.c
0a122b
@@ -606,7 +606,7 @@ void cpu_physical_memory_reset_dirty(ram_addr_t start, ram_addr_t end,
0a122b
     length = end - start;
0a122b
     if (length == 0)
0a122b
         return;
0a122b
-    cpu_physical_memory_mask_dirty_range(start, length, client);
0a122b
+    cpu_physical_memory_clear_dirty_range(start, length, client);
0a122b
 
0a122b
     if (tcg_enabled()) {
0a122b
         tlb_reset_dirty_range_all(start, end, length);
0a122b
diff --git a/include/exec/memory-internal.h b/include/exec/memory-internal.h
0a122b
index f27b830..caff5b4 100644
0a122b
--- a/include/exec/memory-internal.h
0a122b
+++ b/include/exec/memory-internal.h
0a122b
@@ -109,9 +109,9 @@ static inline void cpu_physical_memory_set_dirty_range(ram_addr_t start,
0a122b
     xen_modified_memory(addr, length);
0a122b
 }
0a122b
 
0a122b
-static inline void cpu_physical_memory_mask_dirty_range(ram_addr_t start,
0a122b
-                                                        ram_addr_t length,
0a122b
-                                                        unsigned client)
0a122b
+static inline void cpu_physical_memory_clear_dirty_range(ram_addr_t start,
0a122b
+                                                         ram_addr_t length,
0a122b
+                                                         unsigned client)
0a122b
 {
0a122b
     ram_addr_t addr, end;
0a122b
 
0a122b
-- 
0a122b
1.7.1
0a122b