Skip to content

Instantly share code, notes, and snippets.

@abrodkin
Last active March 24, 2020 17:16
Show Gist options
  • Save abrodkin/c0c85c2fe5678cdb9111d37464929ab8 to your computer and use it in GitHub Desktop.
Save abrodkin/c0c85c2fe5678cdb9111d37464929ab8 to your computer and use it in GitHub Desktop.

VirGL

./configure --target-list=arc-softmmu --enable-sdl --enable-opengl --enable-virglrenderer --enable-gtk --enable-spice
./arc-softmmu/qemu-system-arc -M simhs -nographic -kernel vmlinux -cpu archs -append "root=/dev/vda ro" -drive file=rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -vga virtio -spice gl=on

Save console output to file

qemu-system-arc -M simhs -nographic -no-reboot -monitor none -cpu archs -chardev stdio,id=char0,logfile=serial.log,signal=off -serial chardev:char0 -kernel vmlinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment