Skip to content

monitor openfd commands

Dr. David Alan Gilbert (git) qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qmp: Add 'openfd' commandmonitor/misc.c qapi/misc.json+60 -111 reply
2/2hmp: Add 'openfd' commandhmp-commands.hx include/monitor/hmp.h monitor/hmp-cmds.c +1 more+28 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] monitor openfd commands

From: "Dr. David Alan Gilbert" <[email protected]>

The monitors currently have a 'getfd' command that lets you pass an fd via the monitor socket. 'openfd' is a new command that opens a file and puts the fd in the same fd pool. The file is opened RW and created if it doesn't exist.
It makes it easy to test migration to and from a file.

Dr. David Alan Gilbert (2):
qmp: Add 'openfd' command
hmp: Add 'openfd' command

 hmp-commands.hx        | 16 +++++++++++++-
 include/monitor/hmp.h  |  1 +
 monitor/hmp-cmds.c     | 10 +++++++++
 monitor/misc.c         | 48 +++++++++++++++++++++++++++++++++---------
 qapi/misc.json         | 23 +++++++++++++++++++-
 tests/qtest/test-hmp.c |  2 ++
 6 files changed, 88 insertions(+), 12 deletions(-)
Signature · 1 line
2.26.2