summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorYuanhan Liu <yuanhan.liu@linux.intel.com>2015-09-23 12:19:55 +0800
committerMichael S. Tsirkin <mst@redhat.com>2015-09-24 16:27:52 +0300
commit7305483a3d113456681ba6c6e8dd41513decd5f6 (patch)
tree0cac4e62c0496511521eeabc1be9da057a7d42e0 /tests
parent542571d523268357fd8f5b1a523ba2a6191c4c18 (diff)
downloadhqemu-7305483a3d113456681ba6c6e8dd41513decd5f6.zip
hqemu-7305483a3d113456681ba6c6e8dd41513decd5f6.tar.gz
vhost-user: use VHOST_USER_XXX macro for switch statement
So that we could let vhost_user_call to handle extented requests, such as VHOST_USER_GET/SET_PROTOCOL_FEATURES, instead of invoking vhost_user_read/write and constructing the msg again by ourself. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Marcel Apfelbaum <marcel@redhat.com> Tested-by: Marcel Apfelbaum <marcel@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud