mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
block: rename bdrv_invalidate_cache_all, blk_invalidate_cache and test_sync_op_invalidate_cache
Following the bdrv_activate renaming, change also the name of the respective callers. bdrv_invalidate_cache_all -> bdrv_activate_all blk_invalidate_cache -> blk_activate test_sync_op_invalidate_cache -> test_sync_op_activate No functional change intended. Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220209105452.1694545-5-eesposit@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
a94750d956
commit
3b71719462
11 changed files with 21 additions and 21 deletions
|
@ -1023,7 +1023,7 @@ static void postload_update_cb(void *opaque, bool running, RunState state)
|
|||
{
|
||||
PFlashCFI01 *pfl = opaque;
|
||||
|
||||
/* This is called after bdrv_invalidate_cache_all. */
|
||||
/* This is called after bdrv_activate_all. */
|
||||
qemu_del_vm_change_state_handler(pfl->vmstate);
|
||||
pfl->vmstate = NULL;
|
||||
|
||||
|
|
|
@ -219,7 +219,7 @@ static void postload_update_cb(void *opaque, bool running, RunState state)
|
|||
{
|
||||
SpaprNvram *nvram = opaque;
|
||||
|
||||
/* This is called after bdrv_invalidate_cache_all. */
|
||||
/* This is called after bdrv_activate_all. */
|
||||
|
||||
qemu_del_vm_change_state_handler(nvram->vmstate);
|
||||
nvram->vmstate = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue