[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 4/4] doc: update TYPE_MIGRATION documents
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v2 4/4] doc: update TYPE_MIGRATION documents |
Date: |
Wed, 5 Jul 2017 16:21:23 +0800 |
[Peter collected Eduardo's patch comment and formatted into patch]
Suggested-by: Eduardo Habkost <address@hidden>
Signed-off-by: Peter Xu <address@hidden>
---
migration/migration.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/migration/migration.c b/migration/migration.c
index dbdc121..31d46d1 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -2052,12 +2052,12 @@ static void migration_instance_init(Object *obj)
static const TypeInfo migration_type = {
.name = TYPE_MIGRATION,
/*
- * NOTE: "migration" itself is not really a device. We used
- * TYPE_DEVICE here only to leverage some existing QDev features
- * like "-global" properties, and HW_COMPAT_* fields (which are
- * finally applied as global properties as well). If one day the
- * global property feature can be migrated from QDev to QObject in
- * general, then we can switch to QObject as well.
+ * NOTE: TYPE_MIGRATION is not really a device, as the object is
+ * not created using qdev_create(), it is not attached to the qdev
+ * device tree, and it is never realized.
+ *
+ * TODO: Make this TYPE_OBJECT once QOM provides something like
+ * TYPE_DEVICE's "-global" properties.
*/
.parent = TYPE_DEVICE,
.class_init = migration_class_init,
--
2.7.4
- [Qemu-devel] [PATCH v2.1 3/4] doc: add item for "-M enforce-config-section", (continued)
- [Qemu-devel] [PATCH v2.1 3/4] doc: add item for "-M enforce-config-section", Peter Xu, 2017/07/05
- Re: [Qemu-devel] [PATCH v2.1 3/4] doc: add item for "-M enforce-config-section", Greg Kurz, 2017/07/06
- Re: [Qemu-devel] [PATCH v2.1 3/4] doc: add item for "-M enforce-config-section", Peter Xu, 2017/07/06
- Re: [Qemu-devel] [PATCH v2.1 3/4] doc: add item for "-M enforce-config-section", Eduardo Habkost, 2017/07/06
- [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Peter Xu, 2017/07/06
- Re: [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Greg Kurz, 2017/07/07
- Re: [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Eduardo Habkost, 2017/07/07
- Re: [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Dr. David Alan Gilbert, 2017/07/07
- Re: [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Greg Kurz, 2017/07/10
- Re: [Qemu-devel] [PATCH v2.2 3/4] doc: add item for "-M enforce-config-section", Peter Xu, 2017/07/10
- [Qemu-devel] [PATCH v2 4/4] doc: update TYPE_MIGRATION documents,
Peter Xu <=
- Re: [Qemu-devel] [PATCH v2 0/4] migration: fix iotest 055, only-migratable break, Dr. David Alan Gilbert, 2017/07/10