[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Native hypercall basics using int 82
On 16/12/2008 08:39, "hnrkssn hnrkssn" <hnrkssn@xxxxxxxxx> wrote: > I'm trying to detect if I'm running as a guest in XEN hypervisor using a > simple hypercall like __HYPERVISOR_xen_version with the XENVER_extraversion > option. > I cannot use any of the API functions for this so I'm trying to setup the > required registers and call int 82 myself. > This is what I do and unfortunately, it generates an exception 0xd when > executing INT 82. > > Reading the source, I think I've figured out that I should put my arguments in > a hypercall struct shown below. I might be wrong then. See tools/misc/xen-detect.c for a nice approach that even works from user space. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |