[PATCH 2/3] kvmppc: add hypercall infrastructure - guest part v3

Kumar Gala galak at kernel.crashing.org
Tue Oct 14 04:44:07 EST 2008


On Oct 13, 2008, at 12:29 PM, Hollis Blanchard wrote:

> On Mon, 2008-10-13 at 11:42 -0500, Kumar Gala wrote:
>>> +
>>> +/* Hypercalls use the beat ABI */
>>> +#define KVM_HYPERCALL_BIN 0x44000022
>>
>> Any reason this isn't 'sc' ?
>>
>> Also, can we make this "sc 1" so its works when we have HW hypervisor
>> support?
>
> Actually, it is "sc 1".
>
> Many versions of as (including 2.16.1) don't recognize that  
> instruction.
> This is the standard workaround for situations like that.

Ahh, we'll than can we add that to the comment, and rename  
'KVM_HYPERCALL_BIN' to something like 'EPAPR_HYPERCALL_INSTR'

- k



More information about the Linuxppc-dev mailing list