Module Name: src Committed By: jym Date: Sat Aug 27 15:56:48 UTC 2011
Modified Files: src/sys/arch/xen/include [jym-xensuspend]: shutdown_xenbus.h xen.h src/sys/arch/xen/x86 [jym-xensuspend]: hypervisor_machdep.c src/sys/arch/xen/xen [jym-xensuspend]: shutdown_xenbus.c xen_machdep.c Log Message: Rename the functions for suspend to reflect that Xen does not hijack the ACPI "sleepstate" sysctl(7) node anymore. Add a boolean value to mark that the save/suspend operation has been notified by dom0, so as to avoid possible errors where admin would like to schedule the domain for sleep without dom0 being prepared for that. Fail with EAGAIN in this case. Sprinkle some KNF. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.3.34.1 src/sys/arch/xen/include/shutdown_xenbus.h cvs rdiff -u -r1.30.8.7 -r1.30.8.8 src/sys/arch/xen/include/xen.h cvs rdiff -u -r1.11.8.9 -r1.11.8.10 src/sys/arch/xen/x86/hypervisor_machdep.c cvs rdiff -u -r1.5.8.3 -r1.5.8.4 src/sys/arch/xen/xen/shutdown_xenbus.c cvs rdiff -u -r1.4.12.9 -r1.4.12.10 src/sys/arch/xen/xen/xen_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.