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

Tony Breeds tony at bakeyournoodle.com
Thu Jul 24 11:45:39 EST 2008


On Wed, Jul 23, 2008 at 10:36:44AM +0200, ehrhardt at linux.vnet.ibm.com wrote:
> From: Christian Ehrhardt <ehrhardt at linux.vnet.ibm.com>

Hi Christian,
> 
> This adds the guest portion of the hypercall infrastructure, basically an
> illegal instruction with a defined layout.
> See http://kvm.qumranet.com/kvmwiki/PowerPC_Hypercall_ABI for more detail
> on the hypercall ABI for powerpc.
> 
> Signed-off-by: Christian Ehrhardt <ehrhardt at linux.vnet.ibm.com>
> ---
> 
> [diffstat]
>  kvm_para.h |   16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
> 
> [diff]
> diff --git a/include/asm-powerpc/kvm_para.h b/include/asm-powerpc/kvm_para.h
> --- a/include/asm-powerpc/kvm_para.h
> +++ b/include/asm-powerpc/kvm_para.h
> @@ -25,6 +25,8 @@
>  #ifdef __KERNEL__
>  
>  #include <linux/of.h>
> +
> +#define KVM_HYPERCALL_BIN 0x03ffffff

Ummm didn't you add this in patch 2 of 6?

Yours Tony

  linux.conf.au    http://www.marchsouth.org/
  Jan 19 - 24 2009 The Australian Linux Technical Conference!




More information about the Linuxppc-dev mailing list