[Lguest] [PATCH 25/25] [PATCH] add paravirtualization support for x86_64

Jeremy Fitzhardinge jeremy at goop.org
Thu Aug 9 17:02:39 EST 2007


Glauber de Oliveira Costa wrote:
>>> +/*
>>> + * integers must be use with care here. They can break the PARAVIRT_PATCH(x)
>>> + * macro, that divides the offset in the structure by 8, to get a number
>>> + * associated with the hook. Dividing by four would be a solution, but it
>>> + * would limit the future growth of the structure if needed.
>>>
>>>       
>> Why not just stick them at the end of the structure?
>>     
>
> Does it really matter?
>   

Well, yes, if alignment is an issue.


    J



More information about the Lguest mailing list