get cloud-hypervisor or firecracker
compile a kernel (use the provided x_kernel_config file), you'll need the stripped ELF file in arch/x86/boot/compressed/vmlinux.bin or the compressed bzImage for cloud-hypervisor.
get cloud-hypervisor or firecracker
compile a kernel (use the provided x_kernel_config file), you'll need the stripped ELF file in arch/x86/boot/compressed/vmlinux.bin or the compressed bzImage for cloud-hypervisor.
Information can be put into dmi tables via some qemu-system hosts (x86_64 and aarch64). That information is exposed in Linux under /sys/class/dmi/id and can be read with dmidecode. The names are very annoyingly inconsistent. The point of this doc is to map them.
See qemu-system-x86_64 --help for the fields that qemu will accept.
qemu smbios flags vary with qemu version.
Example qemu cmdline:
qemu-system-x86_64 -smbios type=,field=value[,...]
| #include <sys/ioctl.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| int | |
| main(void) { | |
| struct winsize ws; | |
| ioctl(STDIN_FILENO, TIOCGWINSZ, &ws); | |
| printf ("lines %d\n", ws.ws_row); |
| { | |
| "presets": [ | |
| ["es2015", { | |
| "es2015": { | |
| "loose": true, | |
| "modules": false | |
| } | |
| }], "react" | |
| ] | |
| } |
| # taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
| # generate server.xml with the following command: | |
| # openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
| # run as follows: | |
| # python simple-https-server.py | |
| # then in your browser, visit: | |
| # https://localhost:4443 | |
| import BaseHTTPServer, SimpleHTTPServer | |
| import ssl |
| timeAgo = angular.module 'app' | |
| # Filter: time | |
| # Date.parse() is inconsistent across browsers | |
| # this is a shim for parsing ISO-8601 date strings | |
| timeAgo.filter 'time', -> | |
| (time) -> |
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<sys/socket.h> | |
| #include<features.h> | |
| #include<linux/if_packet.h> | |
| #include<linux/if_ether.h> | |
| #include<errno.h> | |
| #include<sys/ioctl.h> | |
| #include<net/if.h> | |
| #include<net/ethernet.h> |
rbackup is a lightweight, rsync-powered backup utility that creates time-stamped backups.
It can save backups to your local filesystem (probably an attached USB device) or to a remote host.
Backups are saved in time-stamped directories. Backups are cheap on storage, because hard-links are used for files that haven't changed between backups.