All of lore.kernel.org
 help / color / mirror / Atom feed
* [8/24]Update vl.h for target-ia64 case
@ 2007-12-09 15:57 Zhang, Xiantao
       [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA8612D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Xiantao @ 2007-12-09 15:57 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 1410 bytes --]

From: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Date: Wed, 5 Dec 2007 10:45:29 +0800
Subject: [PATCH] kvm: qemu: Update vl.h for ia64 case.

Update vlh. for ia64 case:
Set MAX_BIOS_SIZE to 16M for ia64's guest firmware requirement.
Set KVM_EXTRA_PAGES to 0 for IA64 case.
Signed-off-by: Zhang Xiantao <xiantao.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
 qemu/vl.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/qemu/vl.h b/qemu/vl.h
index 01aeabc..1ad61c2 100644
--- a/qemu/vl.h
+++ b/qemu/vl.h
@@ -207,7 +207,11 @@ extern unsigned int nb_prom_envs;
 #endif
 
 /* XXX: make it dynamic */
+#ifndef TARGET_IA64
 #define MAX_BIOS_SIZE (4 * 1024 * 1024)
+#else
+#define MAX_BIOS_SIZE (16 * 1024 *1026)
+#endif
 #if defined (TARGET_PPC) || defined (TARGET_SPARC64)
 #define BIOS_SIZE ((512 + 32) * 1024)
 #elif defined(TARGET_MIPS)
@@ -215,8 +219,12 @@ extern unsigned int nb_prom_envs;
 #endif
 
 #if USE_KVM
+#ifdef TARGET_IA64
+#define KVM_EXTRA_PAGES 0
+#else
 #define KVM_EXTRA_PAGES 3
 #endif
+#endif
 
 /* keyboard/mouse support */
 
@@ -1217,6 +1225,9 @@ extern int fd_bootchk;
 void ioport_set_a20(int enable);
 int ioport_get_a20(void);
 
+/* ipf.c*/
+extern QEMUMachine ipf_machine;
+
 /* ppc.c */
 extern QEMUMachine prep_machine;
 extern QEMUMachine core99_machine;
-- 
1.5.2

[-- Attachment #2: 0008-kvm-qemu-Update-vl.h-for-ia64-case.patch --]
[-- Type: application/octet-stream, Size: 1369 bytes --]

From 4fd196169e36d16e332b093c73eb3ab8fd95adf1 Mon Sep 17 00:00:00 2001
From: Zhang Xiantao <xiantao.zhang@intel.com>
Date: Wed, 5 Dec 2007 10:45:29 +0800
Subject: [PATCH] kvm: qemu: Update vl.h for ia64 case.

Update vlh. for ia64 case:
Set MAX_BIOS_SIZE to 16M for ia64's guest firmware requirement.
Set KVM_EXTRA_PAGES to 0 for IA64 case.
Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
---
 qemu/vl.h |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/qemu/vl.h b/qemu/vl.h
index 01aeabc..1ad61c2 100644
--- a/qemu/vl.h
+++ b/qemu/vl.h
@@ -207,7 +207,11 @@ extern unsigned int nb_prom_envs;
 #endif
 
 /* XXX: make it dynamic */
+#ifndef TARGET_IA64
 #define MAX_BIOS_SIZE (4 * 1024 * 1024)
+#else
+#define MAX_BIOS_SIZE (16 * 1024 *1026)
+#endif
 #if defined (TARGET_PPC) || defined (TARGET_SPARC64)
 #define BIOS_SIZE ((512 + 32) * 1024)
 #elif defined(TARGET_MIPS)
@@ -215,8 +219,12 @@ extern unsigned int nb_prom_envs;
 #endif
 
 #if USE_KVM
+#ifdef TARGET_IA64
+#define KVM_EXTRA_PAGES 0
+#else
 #define KVM_EXTRA_PAGES 3
 #endif
+#endif
 
 /* keyboard/mouse support */
 
@@ -1217,6 +1225,9 @@ extern int fd_bootchk;
 void ioport_set_a20(int enable);
 int ioport_get_a20(void);
 
+/* ipf.c*/
+extern QEMUMachine ipf_machine;
+
 /* ppc.c */
 extern QEMUMachine prep_machine;
 extern QEMUMachine core99_machine;
-- 
1.5.2


[-- Attachment #3: Type: text/plain, Size: 277 bytes --]

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

[-- Attachment #4: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/kvm-devel

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

end of thread, other threads:[~2007-12-13  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-09 15:57 [8/24]Update vl.h for target-ia64 case Zhang, Xiantao
     [not found] ` <42DFA526FC41B1429CE7279EF83C6BDCA8612D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-12-12 19:48   ` Jerone Young
2007-12-13  0:11     ` Zhang, Xiantao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.