From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerone Young Subject: Re: [8/24]Update vl.h for target-ia64 case Date: Wed, 12 Dec 2007 13:48:40 -0600 Message-ID: <1197488920.5729.3.camel@thinkpad> References: <42DFA526FC41B1429CE7279EF83C6BDCA8612D@pdsmsx415.ccr.corp.intel.com> Reply-To: jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Avi Kivity To: "Zhang, Xiantao" Return-path: In-Reply-To: <42DFA526FC41B1429CE7279EF83C6BDCA8612D-wq7ZOvIWXbMAbVU2wMM1CrfspsVTdybXVpNB7YpNyf8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Seem to have an error here .. see below On Sun, 2007-12-09 at 23:57 +0800, Zhang, Xiantao wrote: > From: Zhang Xiantao > 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 > --- > 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) Little typo 1026 should be 1024. ^ | > +#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; > ------------------------------------------------------------------------- > 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 kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- 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://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace