From 5646a7a16ec466d0bc8db2465c7a2820653e1e7f Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
Date: Wed, 5 Dec 2007 15:11:36 +0800
Subject: [PATCH] kvm: libkvm: Add two kernel memory allocation interfaces.

Add two kernel memory allocation interfaces, although
it is not required for ia64. Just leave it as blank for compile pass!
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
---
 libkvm/libkvm-ia64.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/libkvm/libkvm-ia64.c b/libkvm/libkvm-ia64.c
index 24249b1..d7477d0 100644
--- a/libkvm/libkvm-ia64.c
+++ b/libkvm/libkvm-ia64.c
@@ -52,6 +52,18 @@ int kvm_arch_create_default_phys_mem(kvm_context_t kvm,
 }
 
 
+int kvm_alloc_kernel_memory(kvm_context_t kvm, unsigned long memory,
+				void **vm_mem)
+{
+	return 0;
+}
+
+void *kvm_create_kernel_phys_mem(kvm_context_t kvm, unsigned long phys_start,
+			unsigned long len, int log, int writable)
+{
+	return NULL;
+}
+
 int kvm_arch_create(kvm_context_t kvm, unsigned long phys_mem_bytes,
 			void **vm_mem)
 {
-- 
1.5.2

