[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] changes for illumos in public headers



Hi Ian,

can i use extras/mini-os/* as example for hypercalls implementations ?

--
Best regards,
Igor Kozhukhov




On Dec 12, 2013, at 3:25 PM, Ian Campbell wrote:

> On Thu, 2013-12-12 at 15:15 +0400, Igor Kozhukhov wrote:
>> On Dec 12, 2013, at 3:02 PM, Andrew Cooper wrote:
>> 
>>> On 12/12/2013 09:15, Igor Kozhukhov wrote:
>>>> Hello All,
>>>> 
>>>> i'm working on port xen-4.2 to DilOS - illumos based platform.
>>>> 
>>>> I have a questions about changes in public headers.
>>>> 
>>>> for build i need changes:
>>>> 
>>>> diff -r 9640d9c4b223 xen/include/public/arch-x86/xen-x86_32.h
>>>> --- a/xen/include/public/arch-x86/xen-x86_32.h  Tue Dec 10 16:21:57 2013 
>>>> +0100
>>>> +++ b/xen/include/public/arch-x86/xen-x86_32.h  Thu Dec 12 13:07:50 2013 
>>>> +0400
>>>> @@ -36,6 +36,19 @@
>>>> * Clobbered: Argument registers (e.g., 2-arg hypercall clobbers %ebx,%ecx)
>>>> */
>>>> 
>>>> +#if defined(__sun)
>>>> +/*
>>>> + * Direct hypercall interface:
>>>> + * As above, except the entry sequence to the hypervisor is:
>>>> + *  mov $hypercall-number*32,%eax ; int $0x82
>>> 
>>> Have you done substantial hacking to the Xen entry points? If not, this
>>> comment appears wrong.
>>> 
>>> Furthermore, why are you not using a hypercall page?
>> 
>> At this moment i'm using xen-3.4 implementation in illumos based on Sun Xen 
>> ports.
>> I'm learning how to port xen-4.2.
> 
> The hypercall page support has been present since at least Xen 3.0.4,
> actually before, but I can't be bothered to search further back than
> d87addffb118.
> 
> Ian.
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.