summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2011-08-03 20:07:05 +0200
committerSimon Horman <horms@verge.net.au>2011-08-04 08:34:41 +0900
commit1d920c284bf899a52ab458d40295e28f16a2b202 (patch)
tree9c143be631b4bc2866dfaf1b86a405216df35394 /include
parente8b7939b1e7249aecbbe45b47c7a2a6169681072 (diff)
fix Xen detection for xenfs in pv_ops kernel
The pv_ops kernel in mainline Linux provides xenfs which has to be mounted at /proc/xen. It creates /proc/xen/capabilities unconditionally which makes it impossible to distinguish PVonHVM guests from PV guests. Use code from xen-detect.c to check wether kexec runs on a PV guest. Without this change PVonHVM guests will be detected incorrectly as plain PV guests. Signed-off-by: Olaf Hering <olaf@aepfle.de> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions