Re: [PATCH] virtio: drop internal struct from UAPI

2019-02-02 Thread Jason Wang
On 2019/2/2 上午6:16, Michael S. Tsirkin wrote: 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 Signed-off-by: Michael S. Tsirkin ---

Re: [PATCH] virtio: drop internal struct from UAPI

2019-02-02 Thread Tiwei Bie
On Fri, Feb 01, 2019 at 05:16:01PM -0500, Michael S. Tsirkin wrote: > 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 > Signed-off-by: Michael S.

[PATCH] virtio: drop internal struct from UAPI

2019-02-01 Thread Michael S. Tsirkin
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 Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_ring.c | 7 ++-