Skip to content

Commit

Permalink
vhost-user-fs: remove "vhostfd" property
Browse files Browse the repository at this point in the history
The property doesn't make much sense for a vhost-user device.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20191116112016.14872-1-marcandre.lureau@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  • Loading branch information
elmarco authored and dagrh committed Dec 13, 2019
1 parent b0ca999 commit 7038573
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion hw/virtio/vhost-user-fs.c
Expand Up @@ -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(),
};

Expand Down
1 change: 0 additions & 1 deletion include/hw/virtio/vhost-user-fs.h
Expand Up @@ -28,7 +28,6 @@ typedef struct {
char *tag;
uint16_t num_request_queues;
uint16_t queue_size;
char *vhostfd;
} VHostUserFSConf;

typedef struct {
Expand Down

0 comments on commit 7038573

Please sign in to comment.