[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 03/11] migration: export capabilities to prop
From: |
Juan Quintela |
Subject: |
Re: [Qemu-devel] [PATCH v2 03/11] migration: export capabilities to props |
Date: |
Mon, 17 Jul 2017 18:58:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Peter Xu <address@hidden> wrote:
> Do the same thing to migration capabilities, just like what we did in
> previous patch for migration parameters.
>
> Signed-off-by: Peter Xu <address@hidden>
Reviewed-by: Juan Quintela <address@hidden>
A pitty that the preprocessor is not able to pass to uppercase ...
> +#define DEFINE_PROP_MIG_CAP(name, x) \
> + DEFINE_PROP_BOOL(name, MigrationState, enabled_capabilities[x], false)
#define DEFINE_PROP_MIG_CAP(name) \
DEFINE_PROP_BOOL(#name, MigrationState,
enabled_capabilities[MIGRATION_CAPABILITY_##name], false)
- [Qemu-devel] [PATCH v2 00/11] migration: export cap/params to qdev props, Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 01/11] qdev: provide DEFINE_PROP_INT64(), Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 03/11] migration: export capabilities to props, Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 02/11] migration: export parameters to props, Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 04/11] qom: call parent first on post_init(), Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 05/11] migration: introduce migrate_params_check(), Peter Xu, 2017/07/17
- [Qemu-devel] [PATCH v2 06/11] migration: provide migrate_params_apply(), Peter Xu, 2017/07/17