From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> 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' ( 1426178624-32638-1-git-send-email-afaer...@suse.de ) 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(+) -- 2.7.4