|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 00/11] [v2] misc changes for kexec in pv-on-hvm g
On 28/07/2011 14:23, "Olaf Hering" <olaf@xxxxxxxxx> wrote:
> A fixed kexec-tools-2.0.2 package is required:
> http://lists.infradead.org/pipermail/kexec/2011-May/005026.html
> However, as I just found out, xenfs unconditionally adds
> /proc/xen/capabilities
> even for hvm guest.
>
> So: how is a hvm guest supposed to be detected in 3.0?
Rip the moving parts from tools/misc/xen-detect.c. It does rely on hooking
SIGILL if you want to safely probe for being a PV guest (uses a
paravirtualised CPUID instruction that is normally an illegal instruction).
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|