Skip to content

qom-get [for 2.8]

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 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qapi: Stub out StringOutputVisitor struct supportqapi/string-output-visitor.c+13 -08 replies
2/2qom: Implement qom-get HMP commandhmp-commands.hx hmp.c hmp.h+37 -01 reply

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/2
2/2Inspired-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] qom-get [for 2.8]

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

Hi,
I'd noticed a while ago the lack of qom-get and
was about to implement it, when I noticed Andreas
had implemented it back in March 2015 as part of the larger patch series 'qom: HMP commands to supersede info qtree' ( [email protected] ) which was a v2 of a series from 2014 of his.

Here is a forward ported version of just the pair of patches that are needed for qom-get.

Usage examples:

(qemu) qom-get /backend/console[0]/device/vga.rom[0] size 65536 (0x10000)

(qemu) qom-get /machine smm
"auto"

(qemu) qom-get /machine rtc-time
struct type not implemented

Dave

Dr. David Alan Gilbert (2):
qapi: Stub out StringOutputVisitor struct support
qom: Implement qom-get HMP command

 hmp-commands.hx              | 13 +++++++++++++
 hmp.c                        | 23 +++++++++++++++++++++++
 hmp.h                        |  1 +
 qapi/string-output-visitor.c | 13 +++++++++++++
 4 files changed, 50 insertions(+)
Signature · 1 line
2.7.4