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

Kevin O'Connor kevin at koconnor.net
Sat Jul 21 19:43:09 CEST 2012


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>
---
 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. */
-- 
1.7.10.4




More information about the SeaBIOS mailing list