monitor openfd commands
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qmp: Add 'openfd' commandmonitor/ qapi/ | +60 | 1 reply | |
| 2/2 | hmp: Add 'openfd' commandhmp-commands.hx include/ monitor/ +1 more | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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