search for: do_resume

Displaying 6 results from an estimated 6 matches for "do_resume".

Did you mean: dm_resume
2006 May 10
1
[patch] kinit cmdline handling change
...11 @@ goto bail; } + /* Default parameters for anything init-like we execute */ + init_argc = cmdc; + init_argv = alloca((cmdc+1)*sizeof(char *)); + memcpy(init_cmdv, cmdv, (cmdc+1)*sizeof(char *)); + /* Resume from suspend-to-disk, if appropriate */ /* If successful, does not return */ do_resume(cmdc, cmdv);
2006 Jul 11
0
[rfc] standalone kinit/resume
...t;sys/sysmacros.h> -#include <linux/config.h> /* For CONFIG_PM_STD_PARTITION */ -#include "kinit.h" -#include "do_mounts.h" #include "resume.h" -#ifndef CONFIG_PM_STD_PARTITION -# define CONFIG_PM_STD_PARTITION "" -#endif +char *progname; -int do_resume(int argc, char *argv[]) +static __noreturn usage(void) { - const char *resume_file = CONFIG_PM_STD_PARTITION; - const char *resume_arg; - - resume_arg = get_arg(argc, argv, "resume="); - resume_file = resume_arg ? resume_arg : resume_file; - /* No resume device specified */ - if (!resume...
2019 Jan 20
0
[klibc:master] resume: Write resume_offset attribute
...ib.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/usr/kinit/resume/resumelib.c b/usr/kinit/resume/resumelib.c index e557b05..03e596a 100644 --- a/usr/kinit/resume/resumelib.c +++ b/usr/kinit/resume/resumelib.c @@ -44,8 +44,8 @@ int do_resume(int argc, char *argv[]) int resume(const char *resume_file, unsigned long long resume_offset) { dev_t resume_device; - int powerfd = -1; - char device_string[64]; + int attr_fd = -1; + char attr_value[64]; int len; resume_device = name_to_dev_t(resume_file); @@ -55,30 +55,50 @@ int resume...
2011 Dec 13
12
[PATCH 0 of 4 V2] oxenstored fixes -- fixes recent pvops kernel hang
Currently PVHVM Linux guests after ddacf5ef684a "xen/pv-on-hvm kexec: add xs_reset_watches to shutdown watches from old kernel" hang when run against oxenstored because it does not handle the unknown XS_RESET_WATCHES operation and does not reply. The symptom of this issue is a hang during boot at this point: cpu 1 spinlock event irq 70 CPU 1 irqstacks, hard=dec94000
2012 Jan 25
26
[PATCH v4 00/23] Xenstore stub domain
Changes from v3: - mini-os configuration files moved into stubdom/ - mini-os extra console support now a config option - Fewer #ifdefs - grant table setup uses hypercall bounce - Xenstore stub domain syslog support re-enabled Changes from v2: - configuration support added to mini-os build system - add mini-os support for conditionally compiling frontends, xenbus -
2007 Mar 28
2
[PATCH 2/3] User-space grant table device - main driver
A character device for accessing (in user-space) pages that have been granted by other domains. Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel