[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_pro
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] [PATCH v4 02/10] accel: introduce AccelClass.global_props |
Date: |
Fri, 23 Jun 2017 12:44:46 +0800 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On Thu, Jun 22, 2017 at 02:28:52PM -0300, Eduardo Habkost wrote:
> On Thu, Jun 22, 2017 at 12:25:30PM +0800, Peter Xu wrote:
> > On Wed, Jun 21, 2017 at 09:23:11AM -0300, Eduardo Habkost wrote:
> > > On Wed, Jun 21, 2017 at 03:52:00PM +0800, Peter Xu wrote:
> [...]
> > > > diff --git a/vl.c b/vl.c
> > > > index 59fea15..4452d7a 100644
> > > > --- a/vl.c
> > > > +++ b/vl.c
> > > > @@ -4571,6 +4571,7 @@ int main(int argc, char **argv, char **envp)
> > > > exit (i == 1 ? 1 : 0);
> > > > }
> > > >
> > >
> > > I suggest a comment here warning about global property
> > > registration ordering. e.g.:
> > >
> > > /*
> > > * Ordering of global property registration matters:
> > > * - machine compat_props should override accelerator-specific
> > > * globals.
> > > * - user-provided globals (-global, and global properties
> > > * derived from other command-line options like -cpu) should
> > > * override machine compat_props and accelerator-specific
> > > * globals.
> > > */
> >
> > I have a standalone patch (next one) to unify these three places and
> > added some comment. Would that suite?
>
> Sorry, I didn't see that patch when I was reviewing this one. It looks
> good to me. Thanks!
Got it. Let me respin to fix the other places. Thanks!
--
Peter Xu
[Qemu-devel] [PATCH v4 01/10] machine: export register_compat_prop(), Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 03/10] vl: clean up global property registerations, Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 04/10] migration: let MigrationState be a qdev, Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 05/10] migration: move global_state.optional out, Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 06/10] migration: move only_migratable to MigrationState, Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 07/10] migration: move skip_configuration out, Peter Xu, 2017/06/21
[Qemu-devel] [PATCH v4 08/10] migration: move skip_section_footers, Peter Xu, 2017/06/21