To ensure compatibility between qemu versions, virtio drivers should set the size of their config structs according to the feature bits that are set. This should keep the size from changing as new features are introduced and avoid breaking older drivers.
Changes since v1: * Fixed a build error on s390. [PATCH 1/8] virtio-net: replace redundant config_size field with [PATCH 2/8] virtio: put struct VirtIOFeature in a header [PATCH 3/8] virtio: pass host features to driver init functions [PATCH 4/8] virtio: set config size using host features [PATCH 5/8] virtio-balloon: fill in the table of feature_sizes [PATCH 6/8] virtio-serial: fill in the feature table [PATCH 7/8] virtio-scsi: fill in table of feature sizes [PATCH 8/8] virtio-blk: fill in the feature table