summaryrefslogtreecommitdiffstats
path: root/scripts/git-submodule.sh
diff options
context:
space:
mode:
authorStefano Garzarella2019-02-21 11:33:08 +0100
committerStefan Hajnoczi2019-02-22 10:42:16 +0100
commitba550851f5de642b8a1359e2c5c27cbb5a52ae61 (patch)
tree570cb2e6615053bf8b8491dc1b1c7149a9ed78a7 /scripts/git-submodule.sh
parentvirtio-blk: add "discard" and "write-zeroes" properties (diff)
downloadqemu-ba550851f5de642b8a1359e2c5c27cbb5a52ae61.tar.gz
qemu-ba550851f5de642b8a1359e2c5c27cbb5a52ae61.tar.xz
qemu-ba550851f5de642b8a1359e2c5c27cbb5a52ae61.zip
virtio-net: make VirtIOFeature usable for other virtio devices
In order to use VirtIOFeature also in other virtio devices, we move its declaration and the endof() macro (renamed in virtio_endof()) in virtio.h. We add virtio_feature_get_config_size() function to iterate the array of VirtIOFeature and to return the config size depending on the features enabled. (as virtio_net_set_config_size() did) Suggested-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Message-id: 20190221103314.58500-5-sgarzare@redhat.com Message-Id: <20190221103314.58500-5-sgarzare@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions