Skip to contentSkip to conversation

vhost-user-fs: remove "vhostfd" property

PATCH In review Marc-André Lureau 3 participants 3 messages Nov 16, 2019 – Dec 13, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vhost-user-fs: remove "vhostfd" property

The property doesn't make much sense for a vhost-user device.

---
 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
index f0df7f4746..ca0b7fc9de 100644
@@ -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
index 539885b458..9ff1bdb7cf 100644
@@ -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
#2 lore raw
In reply to Marc-André Lureau
Quoted 3 lines · * Marc-André Lureau ([email protected]) wrote:

The property doesn't make much sense for a vhost-user device.

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
index f0df7f4746..ca0b7fc9de 100644
@@ -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
index 539885b458..9ff1bdb7cf 100644
@@ -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