vhost-user-fs: remove "vhostfd" property
PATCH 1/1 vhost-user-fs: remove "vhostfd" property
The property doesn't make much sense for a vhost-user device.
Signed-off-by Marc-André Lureau <[email protected]>
--- hw/virtio/vhost-user-fs.c | 1 - include/hw/virtio/vhost-user-fs.h | 1 - 2 files changed, 2 deletions(-)
hw/virtio/vhost-user-fs.c +0 -1
@@ -263,7 +263,6 @@ static Property vuf_properties[] = {DEFINE_PROP_UINT16 ("num-request-queues" , VHostUserFS, conf.num_request_queues,1 ),DEFINE_PROP_UINT16 ("queue-size" , VHostUserFS, conf.queue_size,128 ), -DEFINE_PROP_STRING ("vhostfd" , VHostUserFS, conf.vhostfd), DEFINE_PROP_END_OF_LIST(), };
include/hw/virtio/vhost-user-fs.h +0 -1
@@ -28,7 +28,6 @@ typedef struct {char *tag;uint16_t num_request_queues;uint16_t queue_size; -char *vhostfd; } VHostUserFSConf; typedef struct {
Signature · 1 line
2.24.0
Quoted 7 lines · Marc-André Lureau
The property doesn't make much sense for a vhost-user device.
Signed-off-by Marc-André Lureau <[email protected]>--- hw/virtio/vhost-user-fs.c | 1 - include/hw/virtio/vhost-user-fs.h | 1 - 2 files changed, 2 deletions(-)
It was never implemented either :).
Reviewed-by Stefan Hajnoczi <[email protected]>
Quoted 3 lines · * Marc-André Lureau ([email protected]) wrote:
The property doesn't make much sense for a vhost-user device.
Signed-off-by Marc-André Lureau <[email protected]>
Queued for virtiofs
Quoted 33 lines
--- hw/virtio/vhost-user-fs.c | 1 - include/hw/virtio/vhost-user-fs.h | 1 - 2 files changed, 2 deletions(-)hw/virtio/vhost-user-fs.c +0
-1@@ -263,7 +263,6 @@ static Property vuf_properties[] = {DEFINE_PROP_UINT16 ("num-request-queues" , VHostUserFS, conf.num_request_queues,1 ),DEFINE_PROP_UINT16 ("queue-size" , VHostUserFS, conf.queue_size,128 ), -DEFINE_PROP_STRING ("vhostfd" , VHostUserFS, conf.vhostfd), DEFINE_PROP_END_OF_LIST(), };include/hw/virtio/vhost-user-fs.h +0
-1@@ -28,7 +28,6 @@ typedef struct {char *tag;uint16_t num_request_queues;uint16_t queue_size; -char *vhostfd; } VHostUserFSConf; typedef struct {Signature · 1 line
2.24.0
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK