On 15.07.26 17:54, Chaney, Ben wrote:

On 7/14/26, 11:44 AM, "Vladimir Sementsov-Ogievskiy" <[email protected] 
<mailto:[email protected]>> wrote:


+ if (has_local_migration_supported) {
+ s->local_migration_supported = local_migration_supported;
+ }
+
+ vmstate_register(VMSTATE_IF(s), VMSTATE_INSTANCE_ID_ANY, &vmstate_tap, s);
+
return s;
}

A comment on vmstate_register says:

* New code shouldn't be using this function as QOM-ified devices have
* dc->vmsd to store the serialisation description.

Is it possible to use that interface here?


I'm afraid not. TAP is "QOM-ified", but it's not a device, and don't 
participate in
generic device migration code.

--
Best regards,
Vladimir

Reply via email to