virtio_mmio: expose header to userspace
Michael S. Tsirkin
maintainerPATCH 1/1 virtio_mmio: expose header to userspace
It's handy for userspace emulators like QEMU.
---
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%)drivers/virtio/virtio_mmio.c +1 -1
@@ -69,7 +69,7 @@#include <linux/spinlock.h> #include <linux/virtio.h> #include <linux/virtio_config.h> -#include <linux/virtio_mmio.h> +#include <uapi/linux/virtio_mmio.h> #include <linux/virtio_ring.h>
include/uapi/linux/virtio_mmio.h renamed from include/linux/virtio_mmio.h +0 -0
Signature · 1 line
MST
include/uapi/linux/virtio_mmio.h
Quoted 26 lines · Michael S. Tsirkin
It's handy for userspace emulators like QEMU.
Signed-off-by Michael S. Tsirkin <[email protected]>--- 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%)drivers/virtio/virtio_mmio.c +1
-1@@ -69,7 +69,7 @@#include <linux/spinlock.h> #include <linux/virtio.h> #include <linux/virtio_config.h> -#include <linux/virtio_mmio.h> +#include <uapi/linux/virtio_mmio.h> #include <linux/virtio_ring.h> include/uapi/linux/virtio_mmio.h renamed from include/linux/virtio_mmio.h +0
-0
_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Quoted 1 line · Michael S. Tsirkin
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.
Michael S. Tsirkin
maintainerQuoted 4 lines · Christoph Hellwig
Quoted 1 line · Michael S. Tsirkin
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 transports, mmio shouldn't be any different.
Quoted 1 line
so: NAK.
We'll have to agree to disagree on this one. It's the interface beween linux and the hypervisor. It isn't any less stable than the one to userspace, for better or worse kvm (ab)uses uapi for that. Compare also to include/uapi/linux/kvm_para.h etc.
Signature · 1 line
MST
Michael S. Tsirkin
maintainerQuoted 4 lines · Christoph Hellwig
Quoted 1 line · Michael S. Tsirkin
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 transports, mmio shouldn't be any different.
Quoted 1 line
so: NAK.
We'll have to agree to disagree on this one. It's the interface beween linux and the hypervisor. It isn't any less stable than the one to userspace, for better or worse kvm (ab)uses uapi for that. Compare also to include/uapi/linux/kvm_para.h etc.
Signature · 1 line
MST