x86/PVHv2: fix dereference of native RSDP table mapping
authorRoger Pau Monne <roger.pau@citrix.com>
Mon, 27 Feb 2017 12:14:38 +0000 (12:14 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 27 Feb 2017 16:44:07 +0000 (16:44 +0000)
commit12f687bf28e23fa662bb518311c4ec71e5b39ab8
tree24ae313c3193b247c64fddb190975e1e59847164
parentf68c7c618a3ae1ca1971431c48b24ddd10d479c4
x86/PVHv2: fix dereference of native RSDP table mapping

Check that the RSDP is mapped before trying to access it.

Spotted-by: Coverity
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domain_build.c