aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Mayle <fmayle@google.com>2024-03-19 12:52:52 -0700
committerFrederick Mayle <fmayle@google.com>2024-03-19 13:16:15 -0700
commit4822d00bf59f1ac043a230774b20478d564af5ab (patch)
tree5f73bd24e45e8086277a301c6c3c15074bb47908
parent7c0278784c2afb4aca431d34eccc7b78f70823b2 (diff)
downloadwmediumd-master.tar.gz
update IDs for non-standard vhost-user message typeHEADmastermain
These changed in crosvm (https://crrev.com/c/5369109) and need to be updated here to match. Bug: 329877102, 301269927 Test: launch CF and snapshot/restore Change-Id: I4a198618f55e3b9c599c6b70de6c14f05dca947a
-rw-r--r--wmediumd/inc/usfstl/vhostproto.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/wmediumd/inc/usfstl/vhostproto.h b/wmediumd/inc/usfstl/vhostproto.h
index 28756fa..8e7b2ac 100644
--- a/wmediumd/inc/usfstl/vhostproto.h
+++ b/wmediumd/inc/usfstl/vhostproto.h
@@ -110,11 +110,11 @@ struct vhost_user_msg {
#define VHOST_USER_SET_SLAVE_REQ_FD 21
#define VHOST_USER_GET_CONFIG 24
#define VHOST_USER_VRING_KICK 35
-#define VHOST_USER_GET_SHARED_MEMORY_REGIONS 41
-#define VHOST_USER_SLEEP 42
-#define VHOST_USER_WAKE 43
-#define VHOST_USER_SNAPSHOT 44
-#define VHOST_USER_RESTORE 45
+#define VHOST_USER_SLEEP 1000
+#define VHOST_USER_WAKE 1001
+#define VHOST_USER_SNAPSHOT 1002
+#define VHOST_USER_RESTORE 1003
+#define VHOST_USER_GET_SHARED_MEMORY_REGIONS 1004
#define VHOST_USER_SLAVE_CONFIG_CHANGE_MSG 2
#define VHOST_USER_SLAVE_VRING_CALL 4