Module Name: src Committed By: jym Date: Sun Feb 12 14:38:18 UTC 2012
Modified Files: src/sys/arch/x86/include: cpu.h src/sys/arch/xen/xen: clock.c xen_machdep.c Log Message: Xen clock management routines keep track of CPU (following MP merge). Reflect this change in the suspend/resume routines so they can cope with domU CPU suspend, instead of setting their cpu_info pointer to NULL. Avoid copy/pasting by using the resume routines during attachement. ok releng@. No regression observed, and allows domU to suspend successfully again. Restore is a different beast as PD/PT flags are marked "invalid" by Xen-4 hypervisor, and blocks resuming. Looking into it. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/sys/arch/x86/include/cpu.h cvs rdiff -u -r1.60 -r1.61 src/sys/arch/xen/xen/clock.c cvs rdiff -u -r1.9 -r1.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.