diff options
author | Olaf Hering <olaf@aepfle.de> | 2011-05-04 18:32:32 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-05-06 12:28:41 +0900 |
commit | 6b4ca6d55ca3c7a2fd5e6586274dab44e0ab24fb (patch) | |
tree | 87c209be8bf49b1c3698594ecfaba2e7140f1557 /purgatory | |
parent | 0a6c2106702c7593181531c25390d1faf3ab0bbf (diff) |
detect Xen dom0 properly to avoid conflict with pv_on_hvm domU
A Xen HVM guest with PV drivers loaded has also a /proc/xen directory.
But such a guest is an ordinary PC and the special handling for dom0
breaks kdump in this environment.
Test for /proc/xen/capabilities instead and cache the result.
Also make two variables static, they are only used in this file.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
0 files changed, 0 insertions, 0 deletions