qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PULL v2 00/28] Machine props patches


From: Peter Maydell
Subject: Re: [Qemu-devel] [PULL v2 00/28] Machine props patches
Date: Mon, 8 Jul 2019 17:39:45 +0100

On Mon, 7 Jan 2019 at 12:23, Marc-André Lureau
<address@hidden> wrote:
> ----------------------------------------------------------------
> Generalize machine compatibility properties
>
> During "[PATCH v2 05/10] qom/globals: generalize
> object_property_set_globals()" review, Eduardo suggested to rework the
> GlobalProperty handling, so that -global is limited to QDev only and
> we avoid mixing the machine compats and the user-provided -global
> properties (instead of generalizing -global to various object kinds,
> like I proposed in v2).
>
> "qdev: do not mix compat props with global props" patch decouples a
> bit user-provided -global from machine compat properties. This allows
> to get rid of "user_provided" and "errp" fields in following patches.
>
> A new compat property "x-use-canonical-path-for-ramblock-id" is added
> to hostmem for legacy canonical path names, set to true for -file and
> -memfd with qemu < 4.0.
>
> (this series was initially titled "[PATCH v2 00/10] hostmem: use
> object "id" for memory region name with >= 3.1", but its focus is more
> in refactoring the global and compatilibity properties handling now)

Hi; I've just noticed that this refactoring that removed all the
HW_COMPAT and PC_COMPAT macros left a couple of references to
them behind in documentation/comments:

$ git grep HW_COMPAT
docs/devel/migration.rst:   b) Add an entry to the ``HW_COMPAT_`` for
the previous version that sets
hw/i386/pc_piix.c: * HW_COMPAT_*, PC_COMPAT_*, or * pc_*_machine_options().

Could you write a patch which updates these bits of documentation
to refer to the new scheme, please?

thanks
-- PMM



reply via email to

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