Module Name: src Committed By: jym Date: Fri Apr 29 22:58:46 UTC 2011
Modified Files: src/sys/arch/xen/xen: xbdback_xenbus.c xennetback_xenbus.c Log Message: Move the connection code of xbdback(4) and xvif(4) backends in separate functions. The frontend watch function is easier to read, and mixing switch() with goto's error paths is rather error-prone. While here, sprinkle some aprint_*. Tested under amd64 dom0 with i386 PAE and amd64 domUs. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/sys/arch/xen/xen/xbdback_xenbus.c cvs rdiff -u -r1.44 -r1.45 src/sys/arch/xen/xen/xennetback_xenbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.