[PATCH v2] fix Xen detection for xenfs in pv_ops kernel
horms at verge.net.au
Wed Aug 3 19:44:47 EDT 2011
On Wed, Aug 03, 2011 at 08:07:05PM +0200, Olaf Hering wrote:
> 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.
More information about the kexec