Skip to content
Commit 1ea644c8 authored by Martin Kelly's avatar Martin Kelly Committed by David Vrabel
Browse files

x86/xen: panic on bad Xen-provided memory map



Panic if Xen provides a memory map with 0 entries. Although this is
unlikely, it is better to catch the error at the point of seeing the map
than later on as a symptom of some other crash.

Signed-off-by: default avatarMartin Kelly <martkell@amazon.com>
Signed-off-by: default avatarDavid Vrabel <david.vrabel@citrix.com>
parent 3251f20b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment