[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: |
Tue, 6 Sep 2016 11:10:53 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
* Paolo Bonzini (address@hidden) wrote:
>
>
> On 05/09/2016 20:50, Dr. David Alan Gilbert wrote:
> > * 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?
>
> 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 / address@hidden / Manchester, UK