Added sample TinyEMU .cfg files

This commit is contained in:
Emile Clark-Boman 2025-07-22 09:17:45 +10:00
parent edd43a0af8
commit a96c97bc3c
2 changed files with 21 additions and 0 deletions

11
cfg/root-riscv64.cfg Normal file
View file

@ -0,0 +1,11 @@
/* VM configuration file */
{
version: 1,
machine: "riscv64",
memory_size: 128,
bios: "bbl64.bin",
kernel: "kernel-riscv64.bin",
cmdline: "console=hvc0 root=/dev/vda rw",
drive0: { file: "root-riscv64/blk.txt" },
eth0: { driver: "user" },
}

10
cfg/root-x86.cfg Normal file
View file

@ -0,0 +1,10 @@
/* VM configuration file */
{
version: 1,
machine: "pc",
memory_size: 128,
kernel: "kernel-x86.bin",
cmdline: "loglevel=3 console=hvc0 root=/dev/vda rw",
drive0: { file: "root-x86/blk.txt" },
eth0: { driver: "user" },
}