summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux/kvm.h
diff options
context:
space:
mode:
authorYuanhan Liu2015-09-23 06:19:55 +0200
committerMichael S. Tsirkin2015-09-24 15:27:52 +0200
commit7305483a3d113456681ba6c6e8dd41513decd5f6 (patch)
tree0cac4e62c0496511521eeabc1be9da057a7d42e0 /linux-headers/linux/kvm.h
parentvirtio-ccw: enable virtio-1 (diff)
downloadqemu-7305483a3d113456681ba6c6e8dd41513decd5f6.tar.gz
qemu-7305483a3d113456681ba6c6e8dd41513decd5f6.tar.xz
qemu-7305483a3d113456681ba6c6e8dd41513decd5f6.zip
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 'linux-headers/linux/kvm.h')
0 files changed, 0 insertions, 0 deletions