Re: [PATCH v5 07/37] serial: register vmsd with DeviceClass

2019-12-22 Thread xiaoqiang zhao
在 2019/12/20 下午9:45, Marc-André Lureau 写道: Migration from old to new code works, however the other way fails for devices that use serial_init/serial_mm_init with "base", used as instance_id previously. (with qdev_set_legacy_instance_id, the alias_id is only used in savevm.c:find_se(), and thus

Re: [PATCH v5 07/37] serial: register vmsd with DeviceClass

2019-12-22 Thread xiaoqiang zhao
在 2019/12/20 下午9:45, Marc-André Lureau 写道: Migration from old to new code works, however the other way fails for devices that use serial_init/serial_mm_init with "base", used as instance_id previously. (with qdev_set_legacy_instance_id, the alias_id is only used in savevm.c:find_se(), and thus c

[PATCH v5 07/37] serial: register vmsd with DeviceClass

2019-12-20 Thread Marc-André Lureau
Migration from old to new code works, however the other way fails for devices that use serial_init/serial_mm_init with "base", used as instance_id previously. (with qdev_set_legacy_instance_id, the alias_id is only used in savevm.c:find_se(), and thus can only be used to match against "legacy" ins