svn commit: r227313 - projects/bhyve/sys/dev/bvm
Peter Grehan
grehan at FreeBSD.org
Mon Nov 7 19:53:21 UTC 2011
Author: grehan
Date: Mon Nov 7 19:53:20 2011
New Revision: 227313
URL: http://svn.freebsd.org/changeset/base/227313
Log:
Allow the paravirtualized debug port to override others.
Obtained from: NetApp
Modified:
projects/bhyve/sys/dev/bvm/bvm_dbg.c
Modified: projects/bhyve/sys/dev/bvm/bvm_dbg.c
==============================================================================
--- projects/bhyve/sys/dev/bvm/bvm_dbg.c Mon Nov 7 18:26:38 2011 (r227312)
+++ projects/bhyve/sys/dev/bvm/bvm_dbg.c Mon Nov 7 19:53:20 2011 (r227313)
@@ -62,7 +62,11 @@ bvm_dbg_probe(void)
if (resource_int_value("bvmdbg", 0, "port", &port) == 0)
bvm_dbg_port = port;
- return (0);
+ /*
+ * Return a higher priority than 0 to override other
+ * gdb dbgport providers that may be present (e.g. uart)
+ */
+ return (1);
}
static void
More information about the svn-src-projects
mailing list