diff options
author | Daniel Kiper <daniel.kiper@oracle.com> | 2012-09-10 13:57:51 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-09-18 10:09:45 +0900 |
commit | 0dede7a201f63143bb4d0bec7a2f133ab175f68c (patch) | |
tree | 72219077bc2917f012ab858630fa1fa29529188f /include/x86 | |
parent | 9c385f66cdf5197b56fc7243d55124eb6de32290 (diff) |
xen: Fix Xen kdump support
get_crash_memory_ranges() is unreliable under Xen. Proper machine
memory map could be obtained under Xen by calling __HYPERVISOR_memory_op
hypercall with XENMEM_machine_memory_map argument. get_crash_memory_ranges_xen()
does that. It is implemented using ioctl() or libxenctrl interface.
This solution is compatible with 3.x and 4.x Xen versions.
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include/x86')
0 files changed, 0 insertions, 0 deletions