public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
@ 2008-01-08 21:27 Jerone Young
  2008-01-08 23:07 ` [kvm-ppc-devel] " Hollis Blanchard
  2008-01-09 10:08 ` Avi Kivity
  0 siblings, 2 replies; 3+ messages in thread
From: Jerone Young @ 2008-01-08 21:27 UTC (permalink / raw)
  To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

# HG changeset patch
# User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
# 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 <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [kvm-ppc-devel] [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
  2008-01-08 21:27 [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c Jerone Young
@ 2008-01-08 23:07 ` Hollis Blanchard
  2008-01-09 10:08 ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Hollis Blanchard @ 2008-01-08 23:07 UTC (permalink / raw)
  To: Jerone Young
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 2008-01-08 at 15:27 -0600, Jerone Young wrote:
> # HG changeset patch
> # User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> # 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 <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Acked-by: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c
  2008-01-08 21:27 [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c Jerone Young
  2008-01-08 23:07 ` [kvm-ppc-devel] " Hollis Blanchard
@ 2008-01-09 10:08 ` Avi Kivity
  1 sibling, 0 replies; 3+ messages in thread
From: Avi Kivity @ 2008-01-09 10:08 UTC (permalink / raw)
  To: Jerone Young
  Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	kvm-ppc-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Jerone Young wrote:
> # HG changeset patch
> # User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
> # 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.
>
>   

Applied, thanks.

-- 
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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-01-09 10:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08 21:27 [PATCH] Add function kvm_create_kernel_phys_mem to libkvm-powerpc.c Jerone Young
2008-01-08 23:07 ` [kvm-ppc-devel] " Hollis Blanchard
2008-01-09 10:08 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox