Thank you! You are right! I will correct it :)
-----Original Message-----
From: Jerone Young [mailto:[EMAIL PROTECTED]
Sent: 2007年12月13日 3:49
To: Zhang, Xiantao
Cc: Avi Kivity; [email protected]
Subject: Re: [kvm-devel] [8/24]Update vl.h for target-ia64 case
Seem to have an error here .. see below
On Sun, 2007-12-09 at 23:57 +0800, Zhang, Xiantao wrote:
> From: Zhang Xiantao <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
> ---
> 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
> [email protected]
> 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
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel