hw/virtio: Pass virtio_feature_get_config_size() a const argument
commit989f622d418a81051ee8a2cb3942d18fcf5e3937
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 11 May 2021 10:41:55 +0000 (11 12:41 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Thu, 13 May 2021 15:45:54 +0000 (13 17:45 +0200)
treed578a686d96ae9d52af6cd9ea1e2706b85b09f4b
parentbf5dcf8f2cf61283a46aea14867adbec1a20fe3d
hw/virtio: Pass virtio_feature_get_config_size() a const argument

The VirtIOFeature structure isn't modified, mark it const.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20210511104157.2880306-2-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
hw/virtio/virtio.c
include/hw/virtio/virtio.h