tests/qtest: add assert to catch bad features
commit3bd869f36e3bec51969c8cdb0e3637312d85eb1b
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 2 Aug 2022 09:50:07 +0000 (2 10:50 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Oct 2022 13:41:51 +0000 (7 09:41 -0400)
tree4a851c7e6cdb546b81a6103a2d4b32a3cb929360
parentf48d994fb50c49093dd1dfe64c0d7314c6b62faf
tests/qtest: add assert to catch bad features

No device driver (which is what the qvirtio_ access functions
represent) should be setting UNUSED(30) in the feature space. Although
existing libqos users mask it out lets ensure nothing sneaks through.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220802095010.3330793-20-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/libqos/virtio.c