Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | discover: Fix potentially-unused var warning | Jeremy Kerr | 2013-04-29 | 1 | -1/+1 |
| | | | | | | | discover/boot.c: In function ‘boot’: discover/boot.c:153:13: error: ‘local_initrd’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | ||||
* | discover: Fix boot with initrd error | Geoff Levand | 2013-04-15 | 1 | -2/+2 |
| | | | | | | Fix typo in boot() routine. Signed-off-by: Geoff Levand <geoff@infradead.org> | ||||
* | Move boot to discover server | Jeremy Kerr | 2013-04-15 | 1 | -6/+151 |
| | | | | | | | | | | | | | | | | | | | | | This change moves the boot-via-kexec functionality from the UIs to the discover server. On the UI side: rather than run kexec directly, we just send a message to the discover server. Because this is generic discover client functionality, we no longer need the boot callbacks in the twin- and ncurses-specific code. We also remove the kexec and URL-loading code from the UIs, and add it to the discover server code, in paths.c. We expose this to the server though a new function: load_path(void *, const char *, unsigned int *); On the server side, we simply move hook up the boot() function to use the load_file and kexec calls. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | ||||
* | discover: Implement device handler boot path | Jeremy Kerr | 2013-04-15 | 1 | -0/+14 |
This change adds a funtion, device_handler_boot, which processes the boot command message from the discover server. We add a new file, discover/boot.c (and a corresponding header) with a skeleton for the final kexec code. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> |