libxenguest: fix off-by-1 in colo-secondary-bitmap merging
authorJan Beulich <jbeulich@suse.com>
Fri, 13 Aug 2021 14:49:46 +0000 (16:49 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Aug 2021 14:49:46 +0000 (16:49 +0200)
commite241d15f1c8a8a02baa401af857393f9ada5aeb3
treee76bb91d4d0e2e228501f29081cf7c496e86b06a
parent1a838bf72584788310496ba5f3d865457c80727f
libxenguest: fix off-by-1 in colo-secondary-bitmap merging

Valid GFNs (having a representation in the dirty bitmap) need to be
strictly below p2m_size.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libs/guest/xg_sr_save.c