Skip to contentSkip to conversation

specs/vhost-user.txt: fix name of messages

PATCH In review [email protected] 3 participants 5 messages Sep 8, 2015 – Sep 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 specs/vhost-user.txt: fix name of messages

From: Marc-André Lureau <[email protected]>

---
 docs/specs/vhost-user.txt | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
docs/specs/vhost-user.txt +9 -9
index 0322bcf..1bc6adb 100644
@@ -112,19 +112,19 @@ The communication consists of master sending message requests and slave sending
 message replies. Most of the requests don't require replies. Here is a list of
 the ones that do:
 
- * VHOST_GET_FEATURES
- * VHOST_GET_PROTOCOL_FEATURES
- * VHOST_GET_VRING_BASE
+ * VHOST_USER_GET_FEATURES
+ * VHOST_USER_GET_PROTOCOL_FEATURES
+ * VHOST_USER_GET_VRING_BASE
 
 There are several messages that the master sends with file descriptors passed
 in the ancillary data:
 
- * VHOST_SET_MEM_TABLE
- * VHOST_SET_LOG_BASE (if VHOST_USER_PROTOCOL_F_LOG_SHMFD)
- * VHOST_SET_LOG_FD
- * VHOST_SET_VRING_KICK
- * VHOST_SET_VRING_CALL
- * VHOST_SET_VRING_ERR
+ * VHOST_USER_SET_MEM_TABLE
+ * VHOST_USER_SET_LOG_BASE (if VHOST_USER_PROTOCOL_F_LOG_SHMFD)
+ * VHOST_USER_SET_LOG_FD
+ * VHOST_USER_SET_VRING_KICK
+ * VHOST_USER_SET_VRING_CALL
+ * VHOST_USER_SET_VRING_ERR
 
 If Master is unable to send the full message or receives a wrong reply it will
 close the connection. An optional reconnection mechanism can be implemented.
Signature · 1 line
2.4.3
#1 lore raw
Quoted 12 lines · 08.09.2015 23:29, [email protected] wrote:

From: Marc-André Lureau <[email protected]>

---
 docs/specs/vhost-user.txt | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
docs/specs/vhost-user.txt +0 -0
index 0322bcf..1bc6adb 100644

docs/specs/vhost-user.txt The communication consists of master sending message requests and slave sending · line 117

Quoted 9 lines
docs/specs/vhost-user.txt +3 -3
@@ -112,19 +112,19 @@ The communication consists of master sending message requests and slave sending
 message replies. Most of the requests don't require replies. Here is a list of
 the ones that do:
 
- * VHOST_GET_FEATURES
- * VHOST_GET_PROTOCOL_FEATURES
- * VHOST_GET_VRING_BASE
+ * VHOST_USER_GET_FEATURES
+ * VHOST_USER_GET_PROTOCOL_FEATURES
+ * VHOST_USER_GET_VRING_BASE

The patch doesn't apply to qemu master as vhost-user.txt does not have VHOST_GET_PROTOCOL_FEATURES in here. What treee you're basing your patch on?

Besides, this is quite confusing. Both VHOST_USER_GET_FEATURES and VHOST_GET_FEATURES #defines exists and used, which one is which?

Thanks,

/mjt

#2 lore raw

Hi

Quoted 3 lines · Michael Tokarev

The patch doesn't apply to qemu master as vhost-user.txt does not have VHOST_GET_PROTOCOL_FEATURES in here. What treee you're basing your patch on?

It is after your pending protocol feature patches.

Quoted 2 lines

Besides, this is quite confusing. Both VHOST_USER_GET_FEATURES and VHOST_GET_FEATURES #defines exists and used, which one is which?

I don't know what you mean, VHOST_USER_GET_FEATURES maps to VHOST_GET_FEATURES. But the protocol should use only VHOST_USER* constants.

I'll resend this patch later

Signature · 1 line
Marc-André Lureau
#3 lore raw
Quoted 6 lines · Marc-André Lureau
Quoted 3 lines · Michael Tokarev

The patch doesn't apply to qemu master as vhost-user.txt does not have VHOST_GET_PROTOCOL_FEATURES in here. What treee you're basing your patch on?

It is after your pending protocol feature patches.

Are you confusing me with Michael S. Tsirkin (mst)? :)

(that's no problem ofcourse, and you're welcome :)

/mjt

#4 lore raw

Hi

Quoted 4 lines · Michael Tokarev

Are you confusing me with Michael S. Tsirkin (mst)? :)

(that's no problem ofcourse, and you're welcome :)

Oh, sorry! I might have confused you two for a while :) thanks

Signature · 1 line
Marc-André Lureau