You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: elfloader-basic/README.md
+89Lines changed: 89 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,6 +243,7 @@ For Firecracker, the `fc.x86_64.json` file needs to be updated similarly.
243
243
For other ELFs, you need to follow the steps:
244
244
245
245
1. Add / Build ELF in the `rootfs/` directory.
246
+
246
247
1. Update the start command as above with the command to run the ELF.
247
248
The command can also have arguments, similar to any other Linux command.
248
249
@@ -252,6 +253,94 @@ ELFs using require additional configuration of the ELF Loader.
252
253
253
254
### Enable Debug Messages
254
255
256
+
255
257
You can customize the ELF Loader build debug messages.
258
+
256
259
For that, use the ["Configure" step](#configure) enable the [`ukdebug` library](https://github.com/unikraft/unikraft/tree/staging/lib/ukdebug) and its other options.
260
+
257
261
Then, build and run again.
262
+
263
+
### Use a Different Filesystem Type for QEMU
264
+
265
+
You can use [`9pfs`](https://github.com/unikraft/unikraft/tree/staging/lib/9pfs) as an alternate filesystem to initrd.
266
+
267
+
Note that 9pfs does not work with Firecracker.
268
+
269
+
And it requires re-building Xen to add 9pfs support.
270
+
271
+
Below find instructions on running Nginx on QEMU with 9pfs support.
272
+
273
+
You need to use these contents for the [`Config.uk`](Config.uk) configuration file:
274
+
275
+
```text
276
+
# Configure ELF loader application, with networking support.
0 commit comments