[SeaBIOS] [PATCH] Increase debug level of Xen detection code.

Ian Campbell Ian.Campbell at citrix.com
Sun Jul 22 12:06:50 CEST 2012


On Sat, 2012-07-21 at 13:43 -0400, Kevin O'Connor wrote:
> Now that Xen is enabled by default the detection code will frequently
> not find a valid Xen hypervisor signature, so don't spam the debug
> logs.
> 
> Signed-off-by: Kevin O'Connor <kevin at koconnor.net>

Acked-by: Ian Campbell <ian.campbell at citrix.com>

> ---
>  src/xen.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/xen.c b/src/xen.c
> index 41aab98..a4669d0 100644
> --- a/src/xen.c
> +++ b/src/xen.c
> @@ -62,7 +62,7 @@ void xen_probe(void)
>          memcpy(signature + 8, &edx, 4);
>          signature[12] = 0;
>  
> -        dprintf(1, "Found hypervisor signature \"%s\" at %x\n",
> +        dprintf(9, "Found hypervisor signature \"%s\" at %x\n",
>                  signature, base);
>          if (strcmp(signature, "XenVMMXenVMM") == 0) {
>              /* Set debug_io_port first, so the following messages work. */

-- 
Ian Campbell


It's no longer a question of staying healthy.  It's a question of finding
a sickness you like.
		-- Jackie Mason




More information about the SeaBIOS mailing list