All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Marc-André Lureau" <marcandre.lureau@redhat.com>
To: groug@kaod.org
Cc: qemu-devel <qemu-devel@nongnu.org>, Igor Mammedov <imammedo@redhat.com>
Subject: Re: [Qemu-devel] [PATCH for-3.2 v4 00/28] Generalize machine compatibility properties
Date: Tue, 27 Nov 2018 13:58:29 +0400	[thread overview]
Message-ID: <CAMxuvawxhoT4zDMCpvtY0VkHujqKSYrC6Mk5MVkkpnYHVfFP9w@mail.gmail.com> (raw)
In-Reply-To: <20181127105321.5c46713d@bahia.lan>

Hi

On Tue, Nov 27, 2018 at 1:53 PM Greg Kurz <groug@kaod.org> wrote:
>
> Hi Marc-André,
>
> Patches 1 to 8 don't seem to belong to this series, and they already got
> merged in master actually. Also next release is expected to be 4.0.

oops indeed, sorry. Please ignore 1-8.

> Cheers,
>
> --
> Greg
>
> On Tue, 27 Nov 2018 13:27:33 +0400
> Marc-André Lureau <marcandre.lureau@redhat.com> wrote:
>
> > Hi,
> >
> > 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.
> >
> > Instead of explcitely calling object_apply_global_props() in the
> > various object post_init, I opted for creating a new TYPE_COMPAT_PROPS
> > interface. The interface approach gives a lot more flexibility on
> > which objects can have compat props. This requires some interface
> > improvments in "qom: teach interfaces to implement post-init".
> >
> > 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 < 3.2.
> >
> > (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)
> >
> > v4:
> > - fix accel/machine compat props apply order inversion
> > - split "qdev: do not mix compat props with global props": replace
> >   using current_machine by new compat_props global, introduce
> >   SET_COMPAT() macro, use GPtrArray.
> > - add a comment about "qdev-props: call object_apply_global_props()"
> >   error reporting
> > - add "arm: replace instance_post_init()", to solve the post-init
> >   ordering issue
> > - add "hw/arm/virt: add virt-3.2 machine type" for completeness
> > - commit message improvements
> > - rebased, add r-b tags
> >
> > v3:
> > - GlobalProperties improvements/cleanups
> > - drop generalizing the -global idea
> > - "replace" the set_globals flag with a TYPE_COMPAT_PROPS interface
> > - update hw/i386 machine version to 3.2
> > - add "qom: make interface types abstract" interface cleanup
> >
> > v2:
> > - replace "qom/user-creatable: add a few helper macros" patch for a
> >   more optimized "qom: make user_creatable_complete() specific to
> >   UserCreatable"
> > - rename register_global_list() to register_global_properties()
> > - call object_property_set_globals() after post-init
> > - add and use a ObjectClass.set_globals flag, instead of dynamically
> >   check object class in object_property_set_globals()
> > - use object "id" in >= 3.1 instead of canonical path, add compat
> >   property "x-use-canonical-path-for-ramblock-id" in base hostmem
> >   class.
> >
> > Edgar E. Iglesias (1):
> >   net: cadence_gem: Remove incorrect assert()
> >
> > Eric Auger (1):
> >   MAINTAINERS: Add an ARM SMMU section
> >
> > Greg Kurz (1):
> >   9p: fix QEMU crash when renaming files
> >
> > Marc-André Lureau (20):
> >   tests: qdev_prop_check_globals() doesn't return "all_used"
> >   qom: make interface types abstract
> >   qom: make user_creatable_complete() specific to UserCreatable
> >   accel: register global_props like machine globals
> >   qdev: move qdev_prop_register_global_list() to tests
> >   qom: remove unimplemented class_finalize
> >   hw: apply accel compat properties without touching globals
> >   hw: apply machine compat properties without touching globals
> >   hw: remove SET_MACHINE_COMPAT
> >   qdev: all globals are now user-provided
> >   qdev-props: convert global_props to GPtrArray
> >   qdev-props: remove errp from GlobalProperty
> >   qdev-props: call object_apply_global_props()
> >   qom: teach interfaces to implement post-init
> >   qom: add object_class_get_class_data()
> >   arm: replace instance_post_init()
> >   machine: add compat-props interface
> >   hw/i386: add pc-i440fx-3.2 & pc-q35-3.2
> >   hw/arm/virt: add virt-3.2 machine type
> >   hostmem: use object id for memory region name with >= 3.1
> >
> > Max Filippov (4):
> >   target/xtensa: gdbstub fix register counting
> >   target/xtensa: drop num_[core_]regs from dc232b/dc233c configs
> >   target/xtensa: xtfpga: provide default memory sizes
> >   MAINTAINERS: add missing xtensa patterns
> >
> > Thomas Huth (1):
> >   MAINTAINERS: Assign some more files in the hw/arm/ directory
> >
>

  reply	other threads:[~2018-11-27  9:58 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27  9:27 [Qemu-devel] [PATCH for-3.2 v4 00/28] Generalize machine compatibility properties Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 01/28] target/xtensa: gdbstub fix register counting Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 02/28] target/xtensa: drop num_[core_]regs from dc232b/dc233c configs Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 03/28] target/xtensa: xtfpga: provide default memory sizes Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 04/28] MAINTAINERS: add missing xtensa patterns Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 05/28] 9p: fix QEMU crash when renaming files Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 06/28] MAINTAINERS: Assign some more files in the hw/arm/ directory Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 07/28] MAINTAINERS: Add an ARM SMMU section Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 08/28] net: cadence_gem: Remove incorrect assert() Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 09/28] tests: qdev_prop_check_globals() doesn't return "all_used" Marc-André Lureau
2018-11-27 13:40   ` Eduardo Habkost
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 10/28] qom: make interface types abstract Marc-André Lureau
2018-11-27 13:41   ` Eduardo Habkost
2018-11-27 13:55     ` Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 11/28] qom: make user_creatable_complete() specific to UserCreatable Marc-André Lureau
2018-11-27 13:45   ` Eduardo Habkost
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 12/28] accel: register global_props like machine globals Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 13/28] qdev: move qdev_prop_register_global_list() to tests Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 14/28] qom: remove unimplemented class_finalize Marc-André Lureau
2018-11-27 12:52   ` Eduardo Habkost
2018-11-28 17:44   ` Igor Mammedov
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 15/28] hw: apply accel compat properties without touching globals Marc-André Lureau
2018-11-27  9:27   ` Marc-André Lureau
2018-11-27 19:40   ` [Qemu-devel] " Eduardo Habkost
2018-11-27 19:40     ` Eduardo Habkost
2018-11-27 20:02     ` Marc-André Lureau
2018-11-27 20:02       ` Marc-André Lureau
2018-11-29 16:02       ` Eduardo Habkost
2018-11-29 16:02       ` Eduardo Habkost
2018-11-28 17:49   ` Igor Mammedov
2018-11-28 17:49     ` Igor Mammedov
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 16/28] hw: apply machine " Marc-André Lureau
2018-11-27 12:56   ` Eduardo Habkost
2018-11-27 13:10     ` Marc-André Lureau
2018-11-27 13:35       ` Eduardo Habkost
2018-11-28 17:40         ` Igor Mammedov
2018-11-28 17:53           ` Eduardo Habkost
2018-11-29 10:32           ` Marc-André Lureau
2018-11-29 17:50             ` Eduardo Habkost
2018-11-29 21:36               ` Marc-André Lureau
2018-11-30 10:55                 ` Igor Mammedov
2018-11-30 11:41                   ` Eduardo Habkost
2018-12-04 13:17                     ` Igor Mammedov
2018-12-04 18:43                       ` Eduardo Habkost
2018-11-30 11:37             ` Igor Mammedov
2018-11-29 16:09   ` Eduardo Habkost
2018-11-29 21:32     ` Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 17/28] hw: remove SET_MACHINE_COMPAT Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 18/28] qdev: all globals are now user-provided Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 19/28] qdev-props: convert global_props to GPtrArray Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 20/28] qdev-props: remove errp from GlobalProperty Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 21/28] qdev-props: call object_apply_global_props() Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 22/28] qom: teach interfaces to implement post-init Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 23/28] qom: add object_class_get_class_data() Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 24/28] arm: replace instance_post_init() Marc-André Lureau
2018-11-30 11:48   ` Igor Mammedov
2018-12-01 20:55     ` Marc-André Lureau
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 25/28] machine: add compat-props interface Marc-André Lureau
2018-11-29 17:49   ` Eduardo Habkost
2018-11-30 12:34     ` Igor Mammedov
2018-11-30 12:57       ` Eduardo Habkost
2018-11-30 12:39   ` Igor Mammedov
2018-11-27  9:27 ` [Qemu-devel] [PATCH for-3.2 v4 26/28] hw/i386: add pc-i440fx-3.2 & pc-q35-3.2 Marc-André Lureau
2018-11-27 13:01   ` Eduardo Habkost
2018-11-27  9:28 ` [Qemu-devel] [PATCH for-3.2 v4 27/28] hw/arm/virt: add virt-3.2 machine type Marc-André Lureau
2018-11-27  9:28 ` [Qemu-devel] [PATCH for-3.2 v4 28/28] hostmem: use object id for memory region name with >= 3.1 Marc-André Lureau
2018-11-27  9:53 ` [Qemu-devel] [PATCH for-3.2 v4 00/28] Generalize machine compatibility properties Greg Kurz
2018-11-27  9:58   ` Marc-André Lureau [this message]
2018-11-29  1:35 ` no-reply
2018-11-29  1:45 ` no-reply

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=CAMxuvawxhoT4zDMCpvtY0VkHujqKSYrC6Mk5MVkkpnYHVfFP9w@mail.gmail.com \
    --to=marcandre.lureau@redhat.com \
    --cc=groug@kaod.org \
    --cc=imammedo@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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.