mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
bc2a2364b8
commit
ab7e41e667
3 changed files with 4 additions and 4 deletions
2
exec.c
2
exec.c
|
@ -2127,7 +2127,7 @@ int qemu_ram_resize(RAMBlock *block, ram_addr_t newsize, Error **errp)
|
|||
* Otherwise no-op.
|
||||
* @Note: this is supposed to be a synchronous op.
|
||||
*/
|
||||
void qemu_ram_writeback(RAMBlock *block, ram_addr_t start, ram_addr_t length)
|
||||
void qemu_ram_msync(RAMBlock *block, ram_addr_t start, ram_addr_t length)
|
||||
{
|
||||
/* The requested range should fit in within the block range */
|
||||
g_assert((start + length) <= block->used_length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue