summary refs log tree commit diff stats
path: root/hw/virtio/vdpa-dev.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/virtio/vdpa-dev.c
parent535a3d9a32a9e37487984c16af0167bb3c3a2025 (diff)
downloadfocaccia-qemu-f8ed3648b5b9c0cd77397ae4404f3e9e4be8a426.tar.gz
focaccia-qemu-f8ed3648b5b9c0cd77397ae4404f3e9e4be8a426.zip
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/virtio/vdpa-dev.c')
-rw-r--r--hw/virtio/vdpa-dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vdpa-dev.c b/hw/virtio/vdpa-dev.c
index e08e830006..363b625243 100644
--- a/hw/virtio/vdpa-dev.c
+++ b/hw/virtio/vdpa-dev.c
@@ -203,7 +203,7 @@ vhost_vdpa_device_set_config(VirtIODevice *vdev, const uint8_t *config)
     int ret;
 
     ret = vhost_dev_set_config(&s->dev, s->config, 0, s->config_size,
-                               VHOST_SET_CONFIG_TYPE_MASTER);
+                               VHOST_SET_CONFIG_TYPE_FRONTEND);
     if (ret) {
         error_report("set device config space failed");
         return;