Menu
cosmic-mobile
publicLatest change d22956783f74f68f3d7eff1dd31f885aaf0fbe3e - Checkpoint BúiOS prototype and document clean-worktree workflow by AkurAI Build
#!/bin/sh # Disposable VM; no network listener, host filesystem share, or physical device access. set -eu cd "$(dirname "$0")" mkdir -p runtime export GDK_BACKEND=x11 command -v xdotool >/dev/null sh ./fit-window.sh "$$" & exec qemu-system-x86_64 -name cosmic-mobile -machine q35,accel=kvm -cpu host -smp 2 -m 1536 \ -device virtio-vga-gl,xres=900,yres=1980 -display gtk,gl=on,zoom-to-fit=on,show-menubar=off \ -object rng-random,id=rng0,filename=/dev/urandom -device virtio-rng-pci,rng=rng0 \ -device virtio-keyboard-pci -device virtio-tablet-pci -nic none \ -virtfs local,path=runtime/captures,mount_tag=captures,security_model=mapped-xattr \ -drive file=runtime/root.img,format=raw,if=virtio,snapshot=on \ -kernel runtime/vmlinuz-linux -initrd runtime/initramfs-linux.img \ -append 'root=/dev/vda3 rw video=Virtual-1:900x1980@60e console=tty0 console=ttyS0 loglevel=4' \ -serial file:runtime/serial.log -qmp unix:runtime/qmp.sock,server=on,wait=off -pidfile runtime/vm.pid