diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2015-09-09 21:24:56 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2015-09-16 11:48:07 +0200 |
commit | 4e9fa50c6ccbebef0c4a4aae84090badf81359e6 (patch) | |
tree | 3c0a7132a475b49fb58c155773c114b1e5e18b74 /drivers/vhost/test.c | |
parent | tools/virtio: fix build after 4.2 changes (diff) | |
download | linux-4e9fa50c6ccbebef0c4a4aae84090badf81359e6.tar.xz 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.c | 3 |
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); |