On 10/5/26 8:16 PM, Konstantin Shkolnyy wrote: > This is necessary for the follow-on migration support. The new unique > UID-based bus "path" is used as part of idstr in the migration stream, > making idstr unique and instance_id always 0. > > For migration to succeed, (idstr+instance_id) must match those generated > during QEMU start. Without unique idstr, QEMU will generate variable > instance_id to distinguish devices, and that instance_id can change > if a device is unplugged and plugged back, preventing migration.
I suppose technically any pre-11.2 machine might not have this path, but at this point we don't even allow any zpci migration and won't allow zpci migration to any pre-11.2 machine with the next patch -- so that should be OK. Reviewed-by: Matthew Rosato <[email protected]>
