hw/vhost-user-i2c: Add support for VIRTIO_I2C_F_ZERO_LENGTH_REQUEST
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 10 Feb 2022 11:04:02 +0000 (16:34 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 4 Mar 2022 13:30:52 +0000 (08:30 -0500)
commit0a24dd1fd50582cfbcac191cd24ccad48f6d2478
treec1d55c6c106a192d059d0d32ded512450d8774e1
parente65902a913bf31ba79a83a3bd3621108b85cf645
hw/vhost-user-i2c: Add support for VIRTIO_I2C_F_ZERO_LENGTH_REQUEST

VIRTIO_I2C_F_ZERO_LENGTH_REQUEST is a mandatory feature, that must be
implemented by everyone. Add its support.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Message-Id: <fc47ab63b1cd414319c9201e8d6c7705b5ec3bd9.1644490993.git.viresh.kumar@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-user-i2c.c
include/hw/virtio/vhost-user-i2c.h