# HG changeset patch
# User Jerone Young <[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.

Signed-off-by: Jerone Young <[EMAIL PROTECTED]>

diff --git a/libkvm/libkvm-powerpc.c b/libkvm/libkvm-powerpc.c
--- a/libkvm/libkvm-powerpc.c
+++ b/libkvm/libkvm-powerpc.c
@@ -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
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to