Skip to contentSkip to conversation

vfio-user queue

GIT PULL Applied Jagannathan Raman 2 participants 4 messages Jun 7, 2023

lore
Share & tools
lore
#0 lore raw

The following changes since commit f5e6786de4815751b0a3d2235c760361f228ea48:

Merge tag 'pull-target-arm-20230606' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-06-06 12:11:34 -0700)

are available in the Git repository at:

https://gitlab.com/jraman/qemu.git tags/pull-vfio-user-20230607

for you to fetch changes up to 7771e8b86335968ee46538d1afd44246e7a062bc:

docs: fix multi-process QEMU documentation (2023-06-07 10:21:53 -0400)

----------------------------------------------------------------
vfio-user: Fix the documentation for vfio-user and multi-process QEMU

----------------------------------------------------------------
Jagannathan Raman (2):
vfio-user: update comments
docs: fix multi-process QEMU documentation

 docs/system/multi-process.rst |  2 +-
 hw/remote/vfio-user-obj.c     | 14 +++++++++++---
 2 files changed, 12 insertions(+), 4 deletions(-)
#1 lore raw

[PULL 1/2] vfio-user: update comments

Clarify the behavior of TYPE_VFU_OBJECT when TYPE_REMOTE_MACHINE enables the auto-shutdown property. Also, add notes to VFU_OBJECT_ERROR.

---
 hw/remote/vfio-user-obj.c | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
hw/remote/vfio-user-obj.c +11 -3
index 88ffafc73e56..8b10c32a3c6e 100644
@@ -30,6 +30,11 @@
  *
  * notes - x-vfio-user-server could block IO and monitor during the
  *         initialization phase.
+ *
+ *         When x-remote machine has the auto-shutdown property
+ *         enabled (default), x-vfio-user-server terminates after the last
+ *         client disconnects. Otherwise, it will continue running until
+ *         explicitly killed.
  */
 
 #include "qemu/osdep.h"
@@ -61,9 +66,12 @@
 OBJECT_DECLARE_TYPE(VfuObject, VfuObjectClass, VFU_OBJECT)
 
 /**
- * VFU_OBJECT_ERROR - reports an error message. If auto_shutdown
- * is set, it aborts the machine on error. Otherwise, it logs an
- * error message without aborting.
+ * VFU_OBJECT_ERROR - reports an error message.
+ *
+ * If auto_shutdown is set, it aborts the machine on error. Otherwise,
+ * it logs an error message without aborting. auto_shutdown is disabled
+ * when the server serves clients from multiple VMs; as such, an error
+ * from one VM shouldn't be able to disrupt other VM's services.
  */
 #define VFU_OBJECT_ERROR(o, fmt, ...)                                     \
     {                                                                     \
Signature · 1 line
2.20.1
#2 lore raw

[PULL 2/2] docs: fix multi-process QEMU documentation

In reply to Jagannathan Raman

Fix a typo in the system documentation for multi-process QEMU.

---
 docs/system/multi-process.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/multi-process.rst +1 -1
index 16f0352416bc..2008a6780953 100644
@@ -4,7 +4,7 @@ Multi-process QEMU
 ==================
 
 This document describes how to configure and use multi-process qemu.
-For the design document refer to docs/devel/qemu-multiprocess.
+For the design document refer to docs/devel/multi-process.rst.
 
 1) Configuration
 ----------------
Signature · 1 line
2.20.1
#3 lore raw
In reply to Jagannathan Raman
Quoted 8 lines · Jagannathan Raman

The following changes since commit f5e6786de4815751b0a3d2235c760361f228ea48:

   Merge tag 'pull-target-arm-20230606' ofhttps://git.linaro.org/people/pmaydell/qemu-arm  into staging (2023-06-06 12:11:34 -0700)

are available in the Git repository at:

   https://gitlab.com/jraman/qemu.git  tags/pull-vfio-user-20230607
Quoted 8 lines

for you to fetch changes up to 7771e8b86335968ee46538d1afd44246e7a062bc:

   docs: fix multi-process QEMU documentation (2023-06-07 10:21:53 -0400)

----------------------------------------------------------------
vfio-user: Fix the documentation for vfio-user and multi-process QEMU

Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.

r~