OSDN Git Service

virtio: drop internal struct from UAPI
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Feb 2019 22:13:57 +0000 (17:13 -0500)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Feb 2019 20:29:48 +0000 (15:29 -0500)
commit9c0644ee4aa8792f1e60a2b014b4710faaddafeb
treee0cebd49e0ccec658164d90fd5d4f122c89503e0
parent45383fb0f42db3945ac6cc658704706cdae19528
virtio: drop internal struct from UAPI

There's no reason to expose struct vring_packed in UAPI - if we do we
won't be able to change or drop it, and it's not part of any interface.

Let's move it to virtio_ring.c

Cc: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_ring.c
include/uapi/linux/virtio_ring.h