diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-05-08 08:24:56 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-05 09:54:48 +0100 |
commit | ab7e41e6679224e5ad8da6d70ed7e645a5a482ab (patch) | |
tree | 3cc7b31c526d698765f7530690a30a07a36eb74d /memory.c | |
parent | bc2a2364b8050632a3b3de07f30d88b7f0734845 (diff) | |
download | qemu-ab7e41e6679224e5ad8da6d70ed7e645a5a482ab.zip qemu-ab7e41e6679224e5ad8da6d70ed7e645a5a482ab.tar.gz qemu-ab7e41e6679224e5ad8da6d70ed7e645a5a482ab.tar.bz2 |
exec: Rename qemu_ram_writeback() as qemu_ram_msync()
Rename qemu_ram_writeback() as qemu_ram_msync() to better
match what it does.
Suggested-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20200508062456.23344-5-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'memory.c')
-rw-r--r-- | memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2200,7 +2200,7 @@ void memory_region_ram_resize(MemoryRegion *mr, ram_addr_t newsize, Error **errp void memory_region_msync(MemoryRegion *mr, hwaddr addr, hwaddr size) { if (mr->ram_block) { - qemu_ram_writeback(mr->ram_block, addr, size); + qemu_ram_msync(mr->ram_block, addr, size); } } |