[Top][All Lists]

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

Re: [Qemu-devel] RFC: Full introspection support for QMP

From: Anthony Liguori
Subject: Re: [Qemu-devel] RFC: Full introspection support for QMP
Date: Thu, 23 May 2013 07:52:15 -0500
User-agent: Notmuch/0.15.2+77~g661dcf8 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)

Luiz Capitulino <address@hidden> writes:

> On Thu, 23 May 2013 07:08:59 -0500
> Anthony Liguori <address@hidden> wrote:
>> > then we don't need introspection at all. There's no user for it then.
>> Introspection is not the right approach to feature discovery.  The
>> schema does answer the question of what features are enabled, it just
>> answers the question of what the signature of the methods are.
> (s/does answer/does not answer)


> But there's an intersection here: a new enum value or new argument can
> be a new feature too.
> If we add new commands to query features, than I'm afraid that in the
> long run feature discovery will be split in query-qmp-schema and the
> specific feature discovery commands.
> I'm not arguing in favor of one or another way, but we need to know
> why and where we're going. The real motivation behind full introspection
> is to allow commands to be extended.

Right, so let's look at some examples and see how the introspection
would work for feature detection vs. some other form of feature


Anthony Liguori

reply via email to

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