Skip to contentSkip to conversation

9pfs: add link to 9p developer docs

PATCH In review Christian Schoenebeck 3 participants 5 messages May 6, 2021 – May 12, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 9pfs: add link to 9p developer docs

To lower the entry level for new developers, add a link to the 9p developer docs (i.e. qemu wiki) at the beginning of 9p source files, that is to: https://wiki.qemu.org/Documentation/9p

---
 hw/9pfs/9p-local.c             | 5 +++++
 hw/9pfs/9p-posix-acl.c         | 5 +++++
 hw/9pfs/9p-proxy.c             | 5 +++++
 hw/9pfs/9p-synth.c             | 5 +++++
 hw/9pfs/9p-util.c              | 5 +++++
 hw/9pfs/9p-xattr-user.c        | 5 +++++
 hw/9pfs/9p-xattr.c             | 5 +++++
 hw/9pfs/9p.c                   | 5 +++++
 hw/9pfs/codir.c                | 5 +++++
 hw/9pfs/cofile.c               | 5 +++++
 hw/9pfs/cofs.c                 | 5 +++++
 hw/9pfs/coth.c                 | 5 +++++
 hw/9pfs/coxattr.c              | 5 +++++
 hw/9pfs/virtio-9p-device.c     | 5 +++++
 hw/9pfs/xen-9p-backend.c       | 5 +++++
 tests/qtest/libqos/virtio-9p.c | 5 +++++
 tests/qtest/virtio-9p-test.c   | 5 +++++
 17 files changed, 85 insertions(+)
hw/9pfs/9p-local.c +5 -0
index af52c1daac..210d9e7705 100644
@@ -10,6 +10,11 @@
  * the COPYING file in the top-level directory.
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "9p.h"
 #include "9p-local.h"
hw/9pfs/9p-posix-acl.c +5 -0
index bbf89064f7..eadae270dd 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "qemu/xattr.h"
 #include "9p.h"
hw/9pfs/9p-proxy.c +5 -0
index 4aa4e0a3ba..09bd9f1464 100644
@@ -10,6 +10,11 @@
  * the COPYING file in the top-level directory.
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include <sys/socket.h>
 #include <sys/un.h>
hw/9pfs/9p-synth.c +5 -0
index 473ef914b0..b38088e066 100644
@@ -12,6 +12,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "9p.h"
 #include "fsdev/qemu-fsdev.h"
hw/9pfs/9p-util.c +5 -0
index 614b7fc34d..3221d9b498 100644
@@ -10,6 +10,11 @@
  * See the COPYING file in the top-level directory.
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "qemu/xattr.h"
 #include "9p-util.h"
hw/9pfs/9p-xattr-user.c +5 -0
index 2c90817b75..f2ae9582e6 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "9p.h"
 #include "fsdev/file-op-9p.h"
hw/9pfs/9p-xattr.c +5 -0
index c696d8f846..9ae69dd8db 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "9p.h"
 #include "fsdev/file-op-9p.h"
hw/9pfs/9p.c +5 -0
index 134806db52..0fa776af09 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include <glib/gprintf.h>
 #include "hw/virtio/virtio.h"
hw/9pfs/codir.c +5 -0
index 1f70a58df5..032cce04c4 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "fsdev/qemu-fsdev.h"
 #include "qemu/thread.h"
hw/9pfs/cofile.c +5 -0
index 83bb6c14e0..20f93a90e7 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "fsdev/qemu-fsdev.h"
 #include "qemu/thread.h"
hw/9pfs/cofs.c +5 -0
index 0b321b456e..9d0adc2e78 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "fsdev/qemu-fsdev.h"
 #include "qemu/thread.h"
hw/9pfs/coth.c +5 -0
index 9778f24b00..2802d41cce 100644
@@ -12,6 +12,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "block/thread-pool.h"
 #include "qemu/coroutine.h"
hw/9pfs/coxattr.c +5 -0
index 0e00ffaa0d..dbcd09e0fd 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "fsdev/qemu-fsdev.h"
 #include "qemu/thread.h"
hw/9pfs/virtio-9p-device.c +5 -0
index 14371a78ef..54ee93b71f 100644
@@ -11,6 +11,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "hw/virtio/virtio.h"
 #include "qemu/sockets.h"
hw/9pfs/xen-9p-backend.c +5 -0
index a969fcc54c..65c4979c3c 100644
@@ -8,6 +8,11 @@
  *
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 
 #include "hw/9pfs/9p.h"
tests/qtest/libqos/virtio-9p.c +5 -0
index be91662c6f..b4e1143288 100644
@@ -16,6 +16,11 @@
  * License along with this library; if not, see <http://www.gnu.org/licenses/>
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "libqtest.h"
 #include "qemu/module.h"
tests/qtest/virtio-9p-test.c +5 -0
index 92a498f249..41fed41de1 100644
@@ -7,6 +7,11 @@
  * See the COPYING file in the top-level directory.
  */
 
+/*
+ * Not so fast! You might want to read the 9p developer docs first:
+ * https://wiki.qemu.org/Documentation/9p
+ */
+
 #include "qemu/osdep.h"
 #include "libqtest-single.h"
 #include "qemu/module.h"
Signature · 1 line
2.20.1
#1 lore raw
Quoted 15 lines · Christian Schoenebeck

To lower the entry level for new developers, add a link to the 9p developer docs (i.e. qemu wiki) at the beginning of 9p source files, that is to: https://wiki.qemu.org/Documentation/9p

---
 hw/9pfs/9p-local.c             | 5 +++++
 hw/9pfs/9p-posix-acl.c         | 5 +++++
 hw/9pfs/9p-proxy.c             | 5 +++++
 hw/9pfs/9p-synth.c             | 5 +++++
 hw/9pfs/9p-util.c              | 5 +++++
 hw/9pfs/9p-xattr-user.c        | 5 +++++
 hw/9pfs/9p-xattr.c             | 5 +++++
 hw/9pfs/9p.c                   | 5 +++++
 hw/9pfs/codir.c                | 5 +++++
Quoted 8 lines
 hw/9pfs/cofile.c               | 5 +++++
 hw/9pfs/cofs.c                 | 5 +++++
 hw/9pfs/coth.c                 | 5 +++++
 hw/9pfs/coxattr.c              | 5 +++++
 hw/9pfs/virtio-9p-device.c     | 5 +++++
 hw/9pfs/xen-9p-backend.c       | 5 +++++
 tests/qtest/libqos/virtio-9p.c | 5 +++++
 tests/qtest/virtio-9p-test.c   | 5 +++++

Would it be helpful to also add this link to the virtio-9p stanza in MAINTAINERS? Something like:

W: https://wiki.qemu.org/Documentation/9p

Connor

#2 lore raw
Quoted 26 lines · On Dienstag, 11. Mai 2021 21:57:53 CEST Connor Kuehl wrote:
Quoted 16 lines · Christian Schoenebeck

To lower the entry level for new developers, add a link to the 9p developer docs (i.e. qemu wiki) at the beginning of 9p source files, that is to: https://wiki.qemu.org/Documentation/9p

---

 hw/9pfs/9p-local.c             | 5 +++++
 hw/9pfs/9p-posix-acl.c         | 5 +++++
 hw/9pfs/9p-proxy.c             | 5 +++++
 hw/9pfs/9p-synth.c             | 5 +++++
 hw/9pfs/9p-util.c              | 5 +++++
 hw/9pfs/9p-xattr-user.c        | 5 +++++
 hw/9pfs/9p-xattr.c             | 5 +++++
 hw/9pfs/9p.c                   | 5 +++++
 hw/9pfs/codir.c                | 5 +++++
Quoted 8 lines
 hw/9pfs/cofile.c               | 5 +++++
 hw/9pfs/cofs.c                 | 5 +++++
 hw/9pfs/coth.c                 | 5 +++++
 hw/9pfs/coxattr.c              | 5 +++++
 hw/9pfs/virtio-9p-device.c     | 5 +++++
 hw/9pfs/xen-9p-backend.c       | 5 +++++
 tests/qtest/libqos/virtio-9p.c | 5 +++++
 tests/qtest/virtio-9p-test.c   | 5 +++++
Quoted 6 lines

Would it be helpful to also add this link to the virtio-9p stanza in MAINTAINERS? Something like:

W: https://wiki.qemu.org/Documentation/9p

Connor

Right, makes sense to me. I think I can just handle that as a separate patch subsequently, not worth a threaded V2 IMO.

@Greg: a humble PING from the silent 9p front.

Best regards,
Christian Schoenebeck

Acked-by
#3 lore raw
Quoted 30 lines · On Wed, 12 May 2021 12:25:56 +0200 Christian Schoenebeck…
Quoted 29 lines · On Dienstag, 11. Mai 2021 21:57:53 CEST Connor Kuehl wrote:
Quoted 16 lines · Christian Schoenebeck

To lower the entry level for new developers, add a link to the 9p developer docs (i.e. qemu wiki) at the beginning of 9p source files, that is to: https://wiki.qemu.org/Documentation/9p

---

 hw/9pfs/9p-local.c             | 5 +++++
 hw/9pfs/9p-posix-acl.c         | 5 +++++
 hw/9pfs/9p-proxy.c             | 5 +++++
 hw/9pfs/9p-synth.c             | 5 +++++
 hw/9pfs/9p-util.c              | 5 +++++
 hw/9pfs/9p-xattr-user.c        | 5 +++++
 hw/9pfs/9p-xattr.c             | 5 +++++
 hw/9pfs/9p.c                   | 5 +++++
 hw/9pfs/codir.c                | 5 +++++
Quoted 8 lines
 hw/9pfs/cofile.c               | 5 +++++
 hw/9pfs/cofs.c                 | 5 +++++
 hw/9pfs/coth.c                 | 5 +++++
 hw/9pfs/coxattr.c              | 5 +++++
 hw/9pfs/virtio-9p-device.c     | 5 +++++
 hw/9pfs/xen-9p-backend.c       | 5 +++++
 tests/qtest/libqos/virtio-9p.c | 5 +++++
 tests/qtest/virtio-9p-test.c   | 5 +++++

Would it be helpful to also add this link to the virtio-9p stanza in MAINTAINERS? Something like:

Quoted 9 lines
Quoted 3 lines

W: https://wiki.qemu.org/Documentation/9p

Connor

Right, makes sense to me. I think I can just handle that as a separate patch subsequently, not worth a threaded V2 IMO.

@Greg: a humble PING from the silent 9p front.

Sorry for lack of care... I agree both with the patch and with Connor's suggestion. No need to even post anything more. You can just fix this patch in your tree.

Quoted 4 lines

Best regards,
Christian Schoenebeck

author Applied
#4 lore raw
Quoted 40 lines · On Mittwoch, 12. Mai 2021 14:39:06 CEST Greg Kurz wrote:

On Wed, 12 May 2021 12:25:56 +0200

Quoted 37 lines · Christian Schoenebeck
Quoted 26 lines · On Dienstag, 11. Mai 2021 21:57:53 CEST Connor Kuehl wrote:
Quoted 16 lines · Christian Schoenebeck

To lower the entry level for new developers, add a link to the 9p developer docs (i.e. qemu wiki) at the beginning of 9p source files, that is to: https://wiki.qemu.org/Documentation/9p

---

 hw/9pfs/9p-local.c             | 5 +++++
 hw/9pfs/9p-posix-acl.c         | 5 +++++
 hw/9pfs/9p-proxy.c             | 5 +++++
 hw/9pfs/9p-synth.c             | 5 +++++
 hw/9pfs/9p-util.c              | 5 +++++
 hw/9pfs/9p-xattr-user.c        | 5 +++++
 hw/9pfs/9p-xattr.c             | 5 +++++
 hw/9pfs/9p.c                   | 5 +++++
 hw/9pfs/codir.c                | 5 +++++
Quoted 8 lines
 hw/9pfs/cofile.c               | 5 +++++
 hw/9pfs/cofs.c                 | 5 +++++
 hw/9pfs/coth.c                 | 5 +++++
 hw/9pfs/coxattr.c              | 5 +++++
 hw/9pfs/virtio-9p-device.c     | 5 +++++
 hw/9pfs/xen-9p-backend.c       | 5 +++++
 tests/qtest/libqos/virtio-9p.c | 5 +++++
 tests/qtest/virtio-9p-test.c   | 5 +++++
Quoted 6 lines

Would it be helpful to also add this link to the virtio-9p stanza in MAINTAINERS? Something like:

W: https://wiki.qemu.org/Documentation/9p

Connor

Right, makes sense to me. I think I can just handle that as a separate patch subsequently, not worth a threaded V2 IMO.

Quoted 8 lines
Quoted 1 line

@Greg: a humble PING from the silent 9p front.

Sorry for lack of care... I agree both with the patch and with Connor's suggestion. No need to even post anything more. You can just fix this patch in your tree.

Queued. Thanks!

https://github.com/cschoenebeck/qemu/commits/9p.next

Best regards,
Christian Schoenebeck