|
|
1d442b |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
1d442b |
Date: Mon, 27 Jan 2020 19:00:37 +0000
|
|
|
1d442b |
Subject: [PATCH] vhost-user-fs: remove "vhostfd" property
|
|
|
1d442b |
MIME-Version: 1.0
|
|
|
1d442b |
Content-Type: text/plain; charset=UTF-8
|
|
|
1d442b |
Content-Transfer-Encoding: 8bit
|
|
|
1d442b |
|
|
|
1d442b |
The property doesn't make much sense for a vhost-user device.
|
|
|
1d442b |
|
|
|
1d442b |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
1d442b |
Message-Id: <20191116112016.14872-1-marcandre.lureau@redhat.com>
|
|
|
1d442b |
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
|
|
|
1d442b |
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
|
1d442b |
(cherry picked from commit 703857348724319735d9be7b5b996e6445c6e6b9)
|
|
|
1d442b |
---
|
|
|
1d442b |
hw/virtio/vhost-user-fs.c | 1 -
|
|
|
1d442b |
include/hw/virtio/vhost-user-fs.h | 1 -
|
|
|
1d442b |
2 files changed, 2 deletions(-)
|
|
|
1d442b |
|
|
|
1d442b |
diff --git a/hw/virtio/vhost-user-fs.c b/hw/virtio/vhost-user-fs.c
|
|
|
1d442b |
index f0df7f4746..ca0b7fc9de 100644
|
|
|
1d442b |
--- a/hw/virtio/vhost-user-fs.c
|
|
|
1d442b |
+++ b/hw/virtio/vhost-user-fs.c
|
|
|
1d442b |
@@ -263,7 +263,6 @@ static Property vuf_properties[] = {
|
|
|
1d442b |
DEFINE_PROP_UINT16("num-request-queues", VHostUserFS,
|
|
|
1d442b |
conf.num_request_queues, 1),
|
|
|
1d442b |
DEFINE_PROP_UINT16("queue-size", VHostUserFS, conf.queue_size, 128),
|
|
|
1d442b |
- DEFINE_PROP_STRING("vhostfd", VHostUserFS, conf.vhostfd),
|
|
|
1d442b |
DEFINE_PROP_END_OF_LIST(),
|
|
|
1d442b |
};
|
|
|
1d442b |
|
|
|
1d442b |
diff --git a/include/hw/virtio/vhost-user-fs.h b/include/hw/virtio/vhost-user-fs.h
|
|
|
1d442b |
index 539885b458..9ff1bdb7cf 100644
|
|
|
1d442b |
--- a/include/hw/virtio/vhost-user-fs.h
|
|
|
1d442b |
+++ b/include/hw/virtio/vhost-user-fs.h
|
|
|
1d442b |
@@ -28,7 +28,6 @@ typedef struct {
|
|
|
1d442b |
char *tag;
|
|
|
1d442b |
uint16_t num_request_queues;
|
|
|
1d442b |
uint16_t queue_size;
|
|
|
1d442b |
- char *vhostfd;
|
|
|
1d442b |
} VHostUserFSConf;
|
|
|
1d442b |
|
|
|
1d442b |
typedef struct {
|