On 10/5/2026 5: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.

Signed-off-by: Konstantin Shkolnyy<[email protected]>
---
  hw/s390x/s390-pci-bus.c | 23 +++++++++++++++++++++++
  1 file changed, 23 insertions(+)

Reviewed-by: Farhan Ali <[email protected]>



Reply via email to