On Mon, 2 Mar 2026, Eric Auger wrote:
Currently the check of cpreg index matches fail to detect
a situation where the length of both arrays is same but
- destination has an extra register not found in the incoming stream (idx1)
- source has an extra register not found in the destination (idx2)
where idx1 < = idx2
Normally this should fail but it does not.
Fix the logic to scan all indexes.
Signed-off-by: Eric Auger <[email protected]>
Fixes: 721fae12536 ("target-arm: Convert TCG to using (index,value) list for cp
migration")
Reviewed-by: Sebastian Ott <[email protected]>