qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/2] qom-get [for 2.8]


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH 0/2] qom-get [for 2.8]
Date: Mon, 5 Sep 2016 19:50:38 +0100
User-agent: Mutt/1.7.0 (2016-08-17)

* Paolo Bonzini (address@hidden) 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 / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]