qom: add test tools (resend from "qom: dynamic properties")
Status from this message: Applied. Thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v12 patches 0 repliesSuperseded
CHANGES SINCE V2 from the cover letter
- this one actually works :) QMP_SOCKET env variable wasn't being handled properly in the last version.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qmp: make qmp.py easier to useQMP/ | +6 | 0 replies | |
| 2/2 | qom: add test toolsQMP/ QMP/ QMP/ | +195 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Andreas Färber |
|---|---|
| 1/2 | |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/2] qom: add test tools (resend from "qom: dynamic properties")
CHANGES SINCE V2:
- this one actually works :) QMP_SOCKET env variable wasn't being handled properly in the last version.
AFAICT the qom tool got dropped from Anthony's "qom: dynamic properties and composition tree" series due to some hardcoded paths for the QMP socket.
I've since ended up adding support for user-specified paths to get them working in my environment so I figured I'd resend to the list since I've seen others express interest.
Only functional change for existing users would be the need to set your QMP_SOCKET env variable to the previous default (/tmp/server.sock):
mdroth@illuin:~$ qom-set -h
environment variables:
QMP_SOCKET=<path | addr:port>
usage:
/home/mdroth/bin/qom-set [-h] [-s <QMP socket path | addr:port>] <path>.<property> <value>mdroth@illuin:~$ qom-get -h
environment variables:
QMP_SOCKET=<path | addr:port>
usage:
/home/mdroth/bin/qom-get [-h] [-s <QMP socket path | addr:port>] <path>.<property>mdroth@illuin:~$ qom-list -h
environment variables:
QMP_SOCKET=<path | addr:port>
usage:
/home/mdroth/bin/qom-list [-h] [-s <QMP socket path | addr:port>] [<path>]mdroth@illuin:~$