aboutsummaryrefslogtreecommitdiff
path: root/hw/block/vhost-user-blk.c
diff options
context:
space:
mode:
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>2023-06-13 11:08:48 +0300
committerMichael S. Tsirkin <mst@redhat.com>2023-06-26 09:50:00 -0400
commitf8ed3648b5b9c0cd77397ae4404f3e9e4be8a426 (patch)
tree8ace3a5f919ac12cfaed6b947b2ebd3ddb051b65 /hw/block/vhost-user-blk.c
parent535a3d9a32a9e37487984c16af0167bb3c3a2025 (diff)
downloadqemu-f8ed3648b5b9c0cd77397ae4404f3e9e4be8a426.zip
qemu-f8ed3648b5b9c0cd77397ae4404f3e9e4be8a426.tar.gz
qemu-f8ed3648b5b9c0cd77397ae4404f3e9e4be8a426.tar.bz2
vhost-user: fully use new backend/frontend naming
Slave/master nomenclature was replaced with backend/frontend in commit 1fc19b65279a ("vhost-user: Adopt new backend naming") This patch replaces all remaining uses of master and slave in the codebase. Signed-off-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org> Message-Id: <20230613080849.2115347-1-manos.pitsidianakis@linaro.org> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'hw/block/vhost-user-blk.c')
-rw-r--r--hw/block/vhost-user-blk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/vhost-user-blk.c b/hw/block/vhost-user-blk.c
index aff4d2b..eecf3f7 100644
--- a/hw/block/vhost-user-blk.c
+++ b/hw/block/vhost-user-blk.c
@@ -81,7 +81,7 @@ static void vhost_user_blk_set_config(VirtIODevice *vdev, const uint8_t *config)
ret = vhost_dev_set_config(&s->dev, &blkcfg->wce,
offsetof(struct virtio_blk_config, wce),
sizeof(blkcfg->wce),
- VHOST_SET_CONFIG_TYPE_MASTER);
+ VHOST_SET_CONFIG_TYPE_FRONTEND);
if (ret) {
error_report("set device config space failed");
return;