On Tue, Mar 22, 2022 at 03:38:50PM -0300, Daniel Henrique Barboza wrote: > Hi, > > This short series converts some spapr devices to use the dc->vmsd > interface to register the vmstate. For most of them it was needed > to use qdev_set_legacy_instance_id() to keep compatibility with the > instance_id being used for awhile. > > Although no functional changes were made the resulting code is a bit > shorter and maintainable. After these patches there are only 3 places > where vmstate_register() APIs are being used. > > No behavior changes were detected when testing migration scenarios with > hotplug/unplug of devices.
Looks good tome. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature