]> git.baikalelectronics.ru Git - kernel.git/commit
vhost: Separate vhost-net features from vhost features
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Sat, 21 Jul 2012 06:55:36 +0000 (06:55 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 21 Jul 2012 22:21:53 +0000 (01:21 +0300)
commitabe6fd0b01584fe1c87c145b5754ce74deeabe03
tree43ff17c3511b5cdbb3c8ccc00d24005c3e07aaf5
parent461016672ea471392082953dc50d7e20d26f2b25
vhost: Separate vhost-net features from vhost features

In order for other vhost devices to use the VHOST_FEATURES bits the
vhost-net specific bits need to be moved to their own VHOST_NET_FEATURES
constant.

(Asias: Update drivers/vhost/test.c to use VHOST_NET_FEATURES)

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Zhi Yong Wu <wuzhy@cn.ibm.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Asias He <asias@redhat.com>
Signed-off-by: Nicholas A. Bellinger <nab@risingtidesystems.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/test.c
drivers/vhost/vhost.h