From: "Daniel P. Berrangé" <berrange@redhat.com>
To: John Snow <jsnow@redhat.com>
Cc: "Victor Toso" <victortoso@redhat.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Andrea Bolognani" <abologna@redhat.com>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: Historical QMP schema
Date: Mon, 10 Jun 2024 12:36:09 +0100 [thread overview]
Message-ID: <ZmblKThDo7PJG5Fh@redhat.com> (raw)
In-Reply-To: <CAFn=p-b9gLmAwLAjzf2RWA4JZuxVM-nnwETwQ44c8F0kOkReVg@mail.gmail.com>
On Thu, Jun 06, 2024 at 01:22:14PM -0400, John Snow wrote:
> On Thu, Jun 6, 2024 at 6:25 AM Victor Toso <victortoso@redhat.com> wrote:
> > On Wed, Jun 05, 2024 at 11:47:53AM GMT, John Snow wrote:
> Importantly, old versions of the schema aren't contained *entirely* within
> the schema. Here's a timeline:
>
> v0.12.0: QMP first introduced. Events are hardcoded, commands are defined
> in qemu-monitor.hx. query commands are hard-coded in monitor.c.
> v0.14.0: qemu-monitor.hx is forked into qmp-commands.hx and hmp-commands.hx
> v1.0: First version which features qapi-schema.json; all query commands are
> qapified but most other commands are not.
> v1.1.0: A very large chunk of commands are QAPIfied.
> v1.3.0: Most commands are now QAPIfied, but there are 2-3 remaining.
> v2.1.0: events are now fully qapified; most are now defined in
> qapi/events.json
> v2.8.0: The remaining commands are fully qapified; qmp-commands.hx is
> removed.
v2.8.0 was in Dec 2016 - 7+1/2 years ago.
libvirt's min QEMU version is 4.2.0 - Dec 2019
Ther are non-libvirt consumers of QEMU, but for them, do we think it is
reasonable for a consumer of QAPI *today*, to care about a QEMU version
from almost 8 years ago ?
IOW, I wonder if the most pragammatic answer to this problem is to simply
entirely ignore the problems prior to 2.8.0 - accept that the versioning
is inaccurate/incomplete for versions before 2.8.0
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2024-06-10 11:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAFn=p-bdoi1yDQTNhpzM=MP5s8Zm9zxuxbD-zPs_h_iA8C=mGg@mail.gmail.com>
[not found] ` <ipebw5yv4l5joa54vk42rb2fmuykzvmjar7blcwiwstj5fwyuq@ycl4du6sb724>
2024-06-06 17:22 ` Historical QMP schema John Snow
2024-06-10 11:36 ` Daniel P. Berrangé [this message]
2024-06-10 13:39 ` Markus Armbruster
2024-06-10 15:41 ` John Snow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZmblKThDo7PJG5Fh@redhat.com \
--to=berrange@redhat.com \
--cc=abologna@redhat.com \
--cc=armbru@redhat.com \
--cc=jsnow@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=victortoso@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.