From: Zhang Xiantao <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
---
 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

Attachment: 0020-kvm-libkvm-Add-two-kernel-memory-allocation-interf.patch
Description: 0020-kvm-libkvm-Add-two-kernel-memory-allocation-interf.patch

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to