[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Native hypercall basics using int 82
I have already tried the CPUID approach used in xen-detect.c When I read the info from leaf 0x40000001, it says "Microsoft Hv" when I run it on Citrix XenServer Express Edition. I thought "Microsoft Hv" was supposed to identify Hyper-V? So I have to try another method. Can anybody give me some hints on my assembler example in the initial post for making a hypercall? --- char buffer[256]; HYPERCALL hypercall; PHYPERCALL phypercall = &hypercall; hypercall.op = 17; // xen_version hypercall.arg[0] = (unsigned long) 1; // xen_extra_version hypercall.arg[1] = (unsigned long) Buffer; memset(Buffer, 0, sizeof(Buffer)); _asm { MOV EAX, phypercall; INT 82; } Buffer[255] = '\0'; Cprintf("Buf: %s\r\n", Buffer); Best Regards, David On Tue, Dec 16, 2008 at 9:47 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |