Re: [PATCH] virtio_mmio: expose header to userspace

2017-01-13 Thread Michael S. Tsirkin
On Thu, Jan 12, 2017 at 11:58:22PM -0800, Christoph Hellwig wrote: > On Thu, Jan 12, 2017 at 11:37:22PM +0200, Michael S. Tsirkin wrote: > > It's handy for userspace emulators like QEMU. > > But it's not actually a userspace API - it's an on the write protocol. We do this for all other virtio tra

Re: [PATCH] virtio_mmio: expose header to userspace

2017-01-13 Thread Christoph Hellwig
On Thu, Jan 12, 2017 at 11:37:22PM +0200, Michael S. Tsirkin wrote: > It's handy for userspace emulators like QEMU. But it's not actually a userspace API - it's an on the write protocol. so: NAK.

Re: [PATCH] virtio_mmio: expose header to userspace

2017-01-12 Thread Jason Wang
On 2017年01月13日 05:37, Michael S. Tsirkin wrote: It's handy for userspace emulators like QEMU. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_mmio.c | 2 +- include/{ => uapi}/linux/virtio_mmio.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/{

[PATCH] virtio_mmio: expose header to userspace

2017-01-12 Thread Michael S. Tsirkin
It's handy for userspace emulators like QEMU. Signed-off-by: Michael S. Tsirkin --- drivers/virtio/virtio_mmio.c | 2 +- include/{ => uapi}/linux/virtio_mmio.h | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename include/{ => uapi}/linux/virtio_mmio.h (100%) diff --git a/driver