X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_vhost%2Fvhost_user.h;h=76d9fe2fc5fdc2981d3560267820f3e2fabcec18;hb=681459bf9cd5778ada011e6d8d681436ec5394f0;hp=46c6ff9567e2bc0a704c27ccf8ce29d48fe6c8be;hpb=e95f34d3808e620c4e5648e75f415b3d7c2feaf0;p=dpdk.git diff --git a/lib/librte_vhost/vhost_user.h b/lib/librte_vhost/vhost_user.h index 46c6ff9567..76d9fe2fc5 100644 --- a/lib/librte_vhost/vhost_user.h +++ b/lib/librte_vhost/vhost_user.h @@ -109,7 +109,10 @@ typedef struct VhostUserLog { } VhostUserLog; typedef struct VhostUserMsg { - VhostUserRequest request; + union { + VhostUserRequest master; + VhostUserSlaveRequest slave; + } request; #define VHOST_USER_VERSION_MASK 0x3 #define VHOST_USER_REPLY_MASK (0x1 << 2)