tests/resource: Extend to check that the grant frames are mapped correctly
authorJane Malalane <jane.malalane@citrix.com>
Fri, 12 Nov 2021 14:48:21 +0000 (14:48 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 12 Nov 2021 19:49:36 +0000 (19:49 +0000)
commitc7a7f14b92991e7d79735bff95f04676b9af34c6
tree2da6fd31a2790d7fd18666feed3491b4817550c1
parent81da2b544cbb003a5447c9b14d275746ad22ab37
tests/resource: Extend to check that the grant frames are mapped correctly

Previously, we checked that we could map 40 pages with nothing
complaining. Now we're adding extra logic to check that those 40
frames are "correct".

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jane Malalane <jane.malalane@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
tools/tests/resource/Makefile
tools/tests/resource/test-resource.c