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

Christian Ehrhardt ehrhardt at linux.vnet.ibm.com
Thu Jul 24 17:56:39 EST 2008


Tony Breeds wrote:
> 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?
>   
This is just because I initially wanted to split Host & Guest patch series.
I need to separate my patches a bit more anyway for the next submission 
thanks for pointing out this duplication.

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


-- 

Grüsse / regards, 
Christian Ehrhardt
IBM Linux Technology Center, Open Virtualization




More information about the Linuxppc-dev mailing list