[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info throug
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] Export machine type deprecation info through QMP |
Date: |
Wed, 24 Apr 2019 15:14:20 -0300 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Apr 24, 2019 at 09:31:13AM +0100, Daniel P. Berrangé wrote:
> On Wed, Apr 24, 2019 at 09:56:53AM +0200, Thomas Huth wrote:
> > On 23/04/2019 23.22, Eduardo Habkost wrote:
> > > This series adds machine type deprecation information to the
> > > output of the `query-machines` QMP command. With this, libvirt
> > > and management software will be able to show this information to
> > > users and/or suggest changes to VM configuration to avoid
> > > deprecated machine types.
> > >
> > > Eduardo Habkost (3):
> > > qapi: SupportStatusInfo struct
> > > machine: Use SupportStatusInfo for deprecation info
> > > qmp: Add deprecation information to query-machines
> > >
> > > qapi/common.json | 24 ++++++++++++++++++++++++
> > > qapi/misc.json | 5 ++++-
> > > include/hw/boards.h | 7 ++++---
> > > hw/i386/pc_piix.c | 4 +++-
> > > hw/ppc/prep.c | 4 +++-
> > > vl.c | 19 +++++++++++++++----
> > > tests/acceptance/query_machines.py | 27 +++++++++++++++++++++++++++
> > > 7 files changed, 80 insertions(+), 10 deletions(-)
> > > create mode 100644 tests/acceptance/query_machines.py
> >
> > Good idea, but some questions come to my mind:
> >
> > - What about devices? IIRC Gerd wrote a patch series last year that does
> > something similar for devices... It would be good to synchronize the
> > work, so that we do not have two completely interfaces between devices
> > and machines here in the end...
>
> Might as well add CPU models to that too as there's plenty of awful
> CPUs no one should use with KVM. The tricky thing is they are fine
> / sensible with TCG still.
Right. We also have devices that are supported in some machines
but not in others. We will probably need a separate API that
takes a (device type, machine type, accelerator) tuple as input.
--
Eduardo
- Re: [Qemu-devel] [PATCH 3/3] qmp: Add deprecation information to query-machines, (continued)