Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
PATCH 1/1 Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1199827424 21600
# Node ID bff590d13f32071b50d79f511424821847ed5ba7
# Parent a6e6b30d5f4154fd91dbf68e7e3986b2af02ee0f
Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
Function kvm_create_kernel_phys_mem was missing from powerpc causing a undefined definition when linking to libkvm when compiled for powerpc.
libkvm/libkvm-powerpc.c +7 -0
@@ -45,6 +45,13 @@ int kvm_alloc_kernel_memory(kvm_context_ {fprintf (stderr,"%s: Operation not supported\n" , __FUNCTION__);return -1 ; +} + +void *kvm_create_kernel_phys_mem (kvm_context_t kvm,unsigned long phys_start, +unsigned long len,int log,int writable) +{ +fprintf (stderr,"%s: Operation not supported\n" , __FUNCTION__); +return NULL ; }void kvm_show_code (kvm_context_t kvm,int vcpu)
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Quoted 7 lines · Jerone Young
# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1199827424 21600
# Node IDbff590d13f32071b50d79f511424821847ed5ba7
# Parenta6e6b30d5f4154fd91dbf68e7e3986b2af02ee0f
Add functionkvm_create_kernel_phys_memtolibkvm-powerpc.c
Quoted 5 lines
Function
kvm_create_kernel_phys_memwas missing from powerpc causing a undefined definition when linking to libkvm when compiled for powerpc.Signed-off-by Jerone Young <jyoung5-r/[email protected]>
Signature · 9 lines
Hollis Blanchard IBM Linux Technology Center ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
Avi Kivity
AppliedQuoted 7 lines · Jerone Young
# HG changeset patch
# User Jerone Young <jyoung5-r/[email protected]> # Date 1199827424 21600
# Node IDbff590d13f32071b50d79f511424821847ed5ba7
# Parenta6e6b30d5f4154fd91dbf68e7e3986b2af02ee0f
Add functionkvm_create_kernel_phys_memtolibkvm-powerpc.c
Quoted 5 lines
Function
kvm_create_kernel_phys_memwas missing from powerpc causing a undefined definition when linking to libkvm when compiled for powerpc.
Applied, thanks.
Signature · 8 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace