summary refs log tree commit diff stats
path: root/hw/net/vhost_net.c
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-10 14:25:44 +0300
committerKevin Wolf <kwolf@redhat.com>2021-06-29 16:51:00 +0200
commit4bf021dbd5d4da22058d425dceae93ce11ff3700 (patch)
tree96d8f02238dc6e7b4e5529bc21f15073b4923110 /hw/net/vhost_net.c
parentd5b23994586934f18853684307bc01965bcdad4b (diff)
downloadfocaccia-qemu-4bf021dbd5d4da22058d425dceae93ce11ff3700.tar.gz
focaccia-qemu-4bf021dbd5d4da22058d425dceae93ce11ff3700.zip
block: rename bdrv_replace_child to bdrv_replace_child_tran
We have bdrv_replace_child() wrapper on bdrv_replace_child_noperm().
But bdrv_replace_child() doesn't update permissions. It's rather
strange, as normally it's expected that foo() should call foo_noperm()
and update permissions.

Let's rename and add comment.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20210610112618.127378-2-vsementsov@virtuozzo.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions