* Paolo Bonzini (pbonz...@redhat.com) wrote:
> 
> 
> On 25/08/2016 11:37, Dr. David Alan Gilbert (git) wrote:
> > 
> > (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
> 
> Looks nice.  Perhaps instead of using the "human" interface we could
> just print it as JSON and avoid the error.

I can't see a sane place to glue a fallback to the JSON code in;
or do you mean use the JSON output even in the simple case?

What's really needed is for the string-output-visitor to be forcibly
reworked for proper nesting, but that's a bit of work.

Dave

> 
> Paolo
--
Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK

Reply via email to