virtio_config: disallow native type fields
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 10 Jul 2020 11:55:52 +0000 (07:55 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 5 Aug 2020 15:08:40 +0000 (11:08 -0400)
commit4a04cfb0eb5e00432f9ff978f2b81bd1736e85db
tree9345fcb006252fec0d25a4d784a0a24260e332c5
parent965b5350514b597dc6347b733127e180844aeb43
virtio_config: disallow native type fields

Transitional devices should all use __virtioXX types (and __leXX for
fields not present in legacy devices).
Modern ones should use __leXX.
_uXX type would be a bug.
Let's prevent that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/linux/virtio_config.h