diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-02-07 08:05:28 +0000 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-02-07 08:05:28 +0000 |
commit | b0314565da2b95e73feab484467ad171fcce6dff (patch) | |
tree | a2e4d0d2f8c51db2b85bf0fc84299db525aff42c /include/uapi | |
parent | 4879f11615d29d7b91cd5a4cfbff8e563ada991d (diff) | |
parent | 9c0644ee4aa8792f1e60a2b014b4710faaddafeb (diff) | |
download | linux-stable-b0314565da2b95e73feab484467ad171fcce6dff.tar.gz linux-stable-b0314565da2b95e73feab484467ad171fcce6dff.tar.bz2 linux-stable-b0314565da2b95e73feab484467ad171fcce6dff.zip |
Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
Pull virtio fixes from Michael Tsirkin:
"A small fix for a uapi header, and a fix for VDPA for non-x86 guests"
* tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost:
virtio: drop internal struct from UAPI
virtio: support VIRTIO_F_ORDER_PLATFORM
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/virtio_config.h | 6 | ||||
-rw-r--r-- | include/uapi/linux/virtio_ring.h | 10 |
2 files changed, 6 insertions, 10 deletions
diff --git a/include/uapi/linux/virtio_config.h b/include/uapi/linux/virtio_config.h index 1196e1c1d4f6..ff8e7dc9d4dd 100644 --- a/include/uapi/linux/virtio_config.h +++ b/include/uapi/linux/virtio_config.h @@ -79,6 +79,12 @@ #define VIRTIO_F_RING_PACKED 34 /* + * This feature indicates that memory accesses by the driver and the + * device are ordered in a way described by the platform. + */ +#define VIRTIO_F_ORDER_PLATFORM 36 + +/* * Does the device support Single Root I/O Virtualization? */ #define VIRTIO_F_SR_IOV 37 diff --git a/include/uapi/linux/virtio_ring.h b/include/uapi/linux/virtio_ring.h index 2414f8af26b3..4c4e24c291a5 100644 --- a/include/uapi/linux/virtio_ring.h +++ b/include/uapi/linux/virtio_ring.h @@ -213,14 +213,4 @@ struct vring_packed_desc { __le16 flags; }; -struct vring_packed { - unsigned int num; - - struct vring_packed_desc *desc; - - struct vring_packed_desc_event *driver; - - struct vring_packed_desc_event *device; -}; - #endif /* _UAPI_LINUX_VIRTIO_RING_H */ |