Each sample machine now has a VM check, including new ones for text-console and scripted-initrd. While a check runs, a recorder takes a frame every half second through a second QEMU monitor socket, and record-screencasts encodes the frames into recordings/<machine>.webp with img2webp, dropping the BIOS frames at other resolutions. The guide shows each machine's recording in the section it illustrates, replacing the PNG screenshots. The checks are now named vm-<machine>.
12 lines
285 B
Nix
12 lines
285 B
Nix
{
|
|
virtualisation = {
|
|
memorySize = 2048;
|
|
qemu.options = [
|
|
"-vga none"
|
|
"-device virtio-vga,xres=1280,yres=800"
|
|
"-chardev socket,id=recording-monitor,path=recording-monitor,server=on,wait=off"
|
|
"-mon chardev=recording-monitor,mode=readline"
|
|
];
|
|
};
|
|
}
|