* Paolo Bonzini (pbonz...@redhat.com) wrote:
> 
> 
> On 05/09/2016 20:50, Dr. David Alan Gilbert wrote:
> > * 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?
> 
> Yeah.  I think it makes sense for a low level command such as qom-get.
> All that you lose is the automatic hex conversion in the first example.

Hmm yes, it does - v2 coming up.

Dave

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

Reply via email to