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

Hollis Blanchard hollisb at us.ibm.com
Tue Oct 14 04:29:43 EST 2008


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.

-- 
Hollis Blanchard
IBM Linux Technology Center




More information about the Linuxppc-dev mailing list