projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b694ed1
)
migration: Rename class type checking macros
author
Eduardo Habkost
<ehabkost@redhat.com>
Tue, 25 Aug 2020 19:20:46 +0000
(15:20 -0400)
committer
Eduardo Habkost
<ehabkost@redhat.com>
Thu, 27 Aug 2020 18:04:55 +0000
(14:04 -0400)
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>
migration/migration.h
patch
|
blob
|
history
diff --git
a/migration/migration.h
b/migration/migration.h
index 2ed55c4aefc390a2ee66eaecc04de32c94b158e6..ae497bd45a7ecf81a5df9129bc88e4aa9922f851 100644
(file)
--- 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 {