----------------------------------------------------------------------- Run 'qom-list': $ sudo ./run tools/virsh qemu-monitor-command cvm1 --pretty \ '{"execute": "qom-list", "arguments": { "path": "/" }}' # Similarly, for other paths: '{"execute": "qom-list", "arguments": { "path": "/machine/" }}' '{"execute": "qom-list", "arguments": { "path": "/machine/peripheral" }}' '{"execute": "qom-list", "arguments": { "path": "/machine/unattached" }}' ... ----------------------------------------------------------------------- Then, QMP 'qom-get': $ sudo ./run tools/virsh qemu-monitor-command cvm1 --pretty \ '{"execute": "qom-get", "arguments": {"path": "/machine/unattached/device[0]", "property": "type"}}' { "return": "Haswell-noTSX-x86_64-cpu", "id": "libvirt-106" } ----------------------------------------------------------------------- QMP 'qom-list-types': $ virsh qemu-monitor-command cvm1 --pretty '{"execute":"qom-list-types"}' { "return": [ { "name": "virtio-tablet-pci" }, { "name": "pc-0.13-machine" }, { "name": "fw_cfg" }, ... { "name": "Westmere-x86_64-cpu" ... ----------------------------------------------------------------------- QMP 'device-list-properties': $ sudo ./run tools/virsh qemu-monitor-command cvm1 --pretty \ '{"execute": "device-list-properties", "arguments": {"typename": "virtio-serial-pci"}}' { "return": [ { "name": "any_layout", "description": "on/off", "type": "bool" }, ... -----------------------------------------------------------------------