From: Hollis Blanchard Date: Mon, 13 Oct 2008 17:29:43 +0000 Subject: Re: [PATCH 2/3] kvmppc: add hypercall infrastructure - guest part Message-Id: <1223918983.16033.30.camel@localhost.localdomain> List-Id: References: <1221546450-15761-1-git-send-email-ehrhardt@linux.vnet.ibm.com> <1221546450-15761-3-git-send-email-ehrhardt@linux.vnet.ibm.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Kumar Gala Cc: kvm-ppc@vger.kernel.org, linuxppc-dev@ozlabs.org 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