search for: initrd_nam

Displaying 20 results from an estimated 28 matches for "initrd_nam".

Did you mean: initrd_name
2010 Jul 05
5
[PATCH 0/3] RFC: Allow use of external QEMU process with libguestfs
This attempts to implement the idea proposed in https://www.redhat.com/archives/libguestfs/2010-April/msg00087.html The idea is that an externally managed QEMU (manual, or via libvirt) can boot the appliance kernel/initrd. libguestfs can then be just told of the UNIX domain socket associated with the guest daemon. An example based on guestfish. 1. Step one, find the appliance kernel/initrd
2007 Feb 26
2
[PATCH 0 of 2] Parse image elfnotes, write them to xenstore, save and load via image sxpr
Here are two patches that let xm create, save and restore extract and preserve elfnotes read by the domain builder. This is handy for a few things. In particular, I''d like it so that xm can decide whether or not guest domains support fast resume (if save fails, or for checkpointing). _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com
2007 Jul 20
2
[PATCH] Remove -static from Documentation/lguest/Makefile
...age(void) int main(int argc, char *argv[]) { - unsigned long mem, pgdir, start, page_offset, initrd_size = 0; - int c, lguest_fd; + unsigned long mem = 0, pgdir, start, page_offset, initrd_size = 0; + int i, c, lguest_fd; struct device_list device_list; void *boot = (void *)0; const char *initrd_name = NULL; @@ -945,6 +924,15 @@ int main(int argc, char *argv[]) device_list.lastdev = &device_list.dev; FD_ZERO(&device_list.infds); + /* We need to know how much memory so we can allocate devices. */ + for (i = 1; i < argc; i++) { + if (argv[i][0] != '-') { + mem = top...
2007 Jul 20
2
[PATCH] Remove -static from Documentation/lguest/Makefile
...age(void) int main(int argc, char *argv[]) { - unsigned long mem, pgdir, start, page_offset, initrd_size = 0; - int c, lguest_fd; + unsigned long mem = 0, pgdir, start, page_offset, initrd_size = 0; + int i, c, lguest_fd; struct device_list device_list; void *boot = (void *)0; const char *initrd_name = NULL; @@ -945,6 +924,15 @@ int main(int argc, char *argv[]) device_list.lastdev = &device_list.dev; FD_ZERO(&device_list.infds); + /* We need to know how much memory so we can allocate devices. */ + for (i = 1; i < argc; i++) { + if (argv[i][0] != '-') { + mem = top...
2017 May 05
2
Re: [PATCH v2 1/2] appliance: search all types of appliances for each path separately
...a/lib/appliance.c > +++ b/lib/appliance.c > @@ -222,7 +222,7 @@ search_appliance (guestfs_h *g, struct appliance_files *appliance) > static int > contains_old_style_appliance (guestfs_h *g, const char *path, void *data) > { > - return dir_contains_files (g, path, kernel_name, initrd_name, NULL); > + return dir_contains_files (g, path, kernel_name, initrd_name, (void *) NULL); > } > > static int > @@ -230,7 +230,7 @@ contains_fixed_appliance (guestfs_h *g, const char *path, void *data) > { > return dir_contains_files (g, path, >...
2013 Sep 06
1
[PATCH] arm: appliance: Add support for device trees (dtb's).
This is the libguestfs companion patch to: https://www.redhat.com/archives/libguestfs/2013-September/msg00045.html Rich.
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...rd=<filename>]...\n" + "<mem-in-mb> vmlinux [args...]"); +} + +int main(int argc, char *argv[]) +{ + unsigned long mem, pgdir, start, page_offset, initrd_size = 0; + int c, lguest_fd, waker_fd; + struct device_list device_list; + void *boot = (void *)0; + const char *initrd_name = NULL; + + device_list.max_infd = -1; + device_list.dev = NULL; + device_list.lastdev = &device_list.dev; + FD_ZERO(&device_list.infds); + + while ((c = getopt_long(argc, argv, "v", opts, NULL)) != EOF) { + switch (c) { + case 'v': + verbose = true; + break; + cas...
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...rd=<filename>]...\n" + "<mem-in-mb> vmlinux [args...]"); +} + +int main(int argc, char *argv[]) +{ + unsigned long mem, pgdir, start, page_offset, initrd_size = 0; + int c, lguest_fd, waker_fd; + struct device_list device_list; + void *boot = (void *)0; + const char *initrd_name = NULL; + + device_list.max_infd = -1; + device_list.dev = NULL; + device_list.lastdev = &device_list.dev; + FD_ZERO(&device_list.infds); + + while ((c = getopt_long(argc, argv, "v", opts, NULL)) != EOF) { + switch (c) { + case 'v': + verbose = true; + break; + cas...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...*argv[]) +{ + unsigned long mem, pgdir, entry, initrd_size, page_offset; + int arg, kern_fd, fd, child, pipefd[2]; + Elf32_Ehdr hdr; + struct sigaction act; + sigset_t sigset; + struct lguest_device_desc *devdescs; + struct devices devices; + struct lguest_boot_info *boot = (void *)0; + const char *initrd_name = NULL; + u32 (*load)(int, const Elf32_Ehdr *ehdr, unsigned long, + unsigned long *, const char *, unsigned long *, + unsigned long *); + + if (argv[1] && strcmp(argv[1], "--verbose") == 0) { + verbose = true; + argv++; + argc--; + } + + if (argc < 4) + errx(1, &...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...*argv[]) +{ + unsigned long mem, pgdir, entry, initrd_size, page_offset; + int arg, kern_fd, fd, child, pipefd[2]; + Elf32_Ehdr hdr; + struct sigaction act; + sigset_t sigset; + struct lguest_device_desc *devdescs; + struct devices devices; + struct lguest_boot_info *boot = (void *)0; + const char *initrd_name = NULL; + u32 (*load)(int, const Elf32_Ehdr *ehdr, unsigned long, + unsigned long *, const char *, unsigned long *, + unsigned long *); + + if (argv[1] && strcmp(argv[1], "--verbose") == 0) { + verbose = true; + argv++; + argc--; + } + + if (argc < 4) + errx(1, &...
2016 Jul 22
1
[PATCH] static const char *str -> static const char str
...liance.c b/src/appliance.c index d293c2b..5748af5 100644 --- a/src/appliance.c +++ b/src/appliance.c @@ -38,8 +38,8 @@ #include "guestfs-internal.h" /* Old-style appliance is going to be obsoleted. */ -static const char *kernel_name = "vmlinuz." host_cpu; -static const char *initrd_name = "initramfs." host_cpu ".img"; +static const char kernel_name[] = "vmlinuz." host_cpu; +static const char initrd_name[] = "initramfs." host_cpu ".img"; static int build_appliance (guestfs_h *g, char **kernel, char **initrd, char **appliance);...
2003 Dec 15
2
2 disks boot
Hi all! It's my first message on this ML. I just installed Fedora Core and I had a small problem... kernel + initrd do not fit in a 1.44 disks... I looked at documentation and at code (kernel.inc) and I saw that syslinux - load kernel - load initrd - boot kernel So perhaps a small workaround for above problem should be to add a configuration to initrd (ie initrd=@initrd.img) to just ask to
2010 Jan 08
2
Virtio ballooning support for Lguest
Hi, I am doing working on enabling Transcendent Memory(OLS '09) support on lguest. For the same, I need ballooning support for lguest. Is there an implmentation of Virtio Balloon driver, that I can use for my purpose? Could someone give me an insight, as to how to go about, for implementing this myself, incase I dont find this patch... Thankyou. -- Gaurav Kukreja +91 997 030 1257
2010 Jan 08
2
Virtio ballooning support for Lguest
Hi, I am doing working on enabling Transcendent Memory(OLS '09) support on lguest. For the same, I need ballooning support for lguest. Is there an implmentation of Virtio Balloon driver, that I can use for my purpose? Could someone give me an insight, as to how to go about, for implementing this myself, incase I dont find this patch... Thankyou. -- Gaurav Kukreja +91 997 030 1257
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 2/13] [Mostly resend] virtio additions
...;, 1, NULL, 'i' }, { NULL }, }; @@ -1648,6 +1698,9 @@ int main(int argc, char *argv[]) case 'b': setup_block_file(optarg); break; + case 'r': + setup_rng(); + break; case 'i': initrd_name = optarg; break; diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 2d7cd48..de20022 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -105,3 +105,13 @@ config HW_RANDOM_PASEMI If unsure, say Y. +config HW_RA...
2007 Dec 21
0
[kvm-devel] [Virtio-for-kvm] [PATCH 2/13] [Mostly resend] virtio additions
...;, 1, NULL, 'i' }, { NULL }, }; @@ -1648,6 +1698,9 @@ int main(int argc, char *argv[]) case 'b': setup_block_file(optarg); break; + case 'r': + setup_rng(); + break; case 'i': initrd_name = optarg; break; diff --git a/drivers/char/hw_random/Kconfig b/drivers/char/hw_random/Kconfig index 2d7cd48..de20022 100644 --- a/drivers/char/hw_random/Kconfig +++ b/drivers/char/hw_random/Kconfig @@ -105,3 +105,13 @@ config HW_RANDOM_PASEMI If unsure, say Y. +config HW_RA...
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...yslinux/linux.h> > #include <syslinux/pxe.h> > +#include <syslinux/firmware.h> > #include "core.h" > > const char *globaldefault = NULL; > @@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char > bool opt_quiet = false; > char *initrd_name, *cmdline; > > + if(firmware && firmware->clear_screen) > + firmware->clear_screen(); > + > dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline); > > if (okernel) The firmware NULL check seems first, unnecessa...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...nclude <syslinux/loadfile.h> #include <syslinux/linux.h> #include <syslinux/pxe.h> +#include <syslinux/firmware.h> #include "core.h" const char *globaldefault = NULL; @@ -23,6 +28,9 @@ int new_linux_kernel(char *okernel, char bool opt_quiet = false; char *initrd_name, *cmdline; + if(firmware && firmware->clear_screen) + firmware->clear_screen(); + dprintf("okernel = %s, ocmdline = %s", okernel, ocmdline); if (okernel) @@ -129,3 +137,70 @@ bail: printf("%s\n", strerror(errno)); return 1; } + +...
2016 Mar 06
8
[PATCH 0/5] Use less stack.
Various changes/fixes to use smaller stack frames. Rich.
2007 Apr 18
1
[PATCH 0/2] Use a single loader for i386 and x86_64
...r, entry, initrd_size, page_offset; int arg, kern_fd, fd, child, pipefd[2]; - Elf32_Ehdr hdr; + /* Worst case */ + Elf64_Ehdr hdr; struct sigaction act; sigset_t sigset; struct lguest_device_desc *devdescs; struct devices devices; struct lguest_boot_info *boot = (void *)0; const char *initrd_name = NULL; - u32 (*load)(int, const Elf32_Ehdr *ehdr, unsigned long, - unsigned long *, const char *, unsigned long *, - unsigned long *); + load_function load; if (argv[1] && strcmp(argv[1], "--verbose") == 0) { verbose = true; @@ -954,10 +1131,10 @@ int main(int a...