diff options
| author | Eduardo Habkost | 2020-08-25 21:20:46 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2020-08-27 20:04:55 +0200 |
| commit | 6c725351c301dbffd4b197bf85e392a1e9dbef2e (patch) | |
| tree | f96c16ba5cd0ff71309dfd1fe1e6eb07825765ed /migration | |
| parent | swim: Rename struct SWIM to Swim (diff) | |
| download | qemu-6c725351c301dbffd4b197bf85e392a1e9dbef2e.tar.gz qemu-6c725351c301dbffd4b197bf85e392a1e9dbef2e.tar.xz qemu-6c725351c301dbffd4b197bf85e392a1e9dbef2e.zip | |
migration: Rename class type checking macros
Rename the macros to make them consistent with the MIGRATION_OBJ
macro name.
This will make future conversion to OBJECT_DECLARE* easier.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-51-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'migration')
| -rw-r--r-- | migration/migration.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/migration/migration.h b/migration/migration.h index 2ed55c4aef..ae497bd45a 100644 --- a/migration/migration.h +++ b/migration/migration.h @@ -114,11 +114,11 @@ void fill_destination_postcopy_migration_info(MigrationInfo *info); #define TYPE_MIGRATION "migration" -#define MIGRATION_CLASS(klass) \ +#define MIGRATION_OBJ_CLASS(klass) \ OBJECT_CLASS_CHECK(MigrationClass, (klass), TYPE_MIGRATION) #define MIGRATION_OBJ(obj) \ OBJECT_CHECK(MigrationState, (obj), TYPE_MIGRATION) -#define MIGRATION_GET_CLASS(obj) \ +#define MIGRATION_OBJ_GET_CLASS(obj) \ OBJECT_GET_CLASS(MigrationClass, (obj), TYPE_MIGRATION) typedef struct MigrationClass { |
