summaryrefslogtreecommitdiffstats
path: root/drivers/vhost/test.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-09-09 22:24:56 +0300
committerMichael S. Tsirkin <mst@redhat.com>2015-09-16 12:48:07 +0300
commit4e9fa50c6ccbebef0c4a4aae84090badf81359e6 (patch)
tree3c0a7132a475b49fb58c155773c114b1e5e18b74 /drivers/vhost/test.c
parentddab2c0eaf57b2de0b2516a477e3ce0f7554509b (diff)
downloadtalos-obmc-linux-4e9fa50c6ccbebef0c4a4aae84090badf81359e6.tar.gz
talos-obmc-linux-4e9fa50c6ccbebef0c4a4aae84090badf81359e6.zip
vhost: move features to core
virtio 1 and any layout are core features, move them there. This fixes vhost test. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/test.c')
-rw-r--r--drivers/vhost/test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c
index d9c501eaa6c3..f2882ac98726 100644
--- a/drivers/vhost/test.c
+++ b/drivers/vhost/test.c
@@ -277,10 +277,13 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl,
return -EFAULT;
return 0;
case VHOST_SET_FEATURES:
+ printk(KERN_ERR "1\n");
if (copy_from_user(&features, featurep, sizeof features))
return -EFAULT;
+ printk(KERN_ERR "2\n");
if (features & ~VHOST_FEATURES)
return -EOPNOTSUPP;
+ printk(KERN_ERR "3\n");
return vhost_test_set_features(n, features);
case VHOST_RESET_OWNER:
return vhost_test_reset_owner(n);
OpenPOWER on IntegriCloud