qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v4 28/29] qmp: add query-memdev


From: Igor Mammedov
Subject: Re: [Qemu-devel] [PATCH v4 28/29] qmp: add query-memdev
Date: Mon, 9 Jun 2014 16:08:15 +0200

On Mon, 09 Jun 2014 15:40:56 +0200
Paolo Bonzini <address@hidden> wrote:

> Il 09/06/2014 15:32, Igor Mammedov ha scritto:
> >>>>> > >> > +{ 'command': 'query-memdev', 'returns': ['Memdev'] }
> >>> > > Could we make it union, that returns MemdevRam + MemdevFile
> >>> > >
> >>> > > MemdevFile will have additional file-only specific properties.
> >>> > >
> >> >
> >> > Which are the file-only properties (in the current definition of Memdev)?
> > in current none, but for file backend exposing 'path' property might be 
> > useful
> > alternatively instead of union we could add 'type' and optional 'path' 
> > fields
> > to Memdev
> >
> 
> Yes, I agree.  I think the latest additions to QAPI actually let you do 
> that with a QAPI union while keeping backwards-compatible output for 
> other fields.  Ok to do this later?  It should be acceptable for soft 
> freeze.
sure.
Actually, 
all my comments could be addressed as follow up patches before freeze,
there is no point in respining huge series for more or less cosmetic changes.

> 
> Paolo


-- 
Regards,
  Igor



reply via email to

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