Skip to content

Instantly share code, notes, and snippets.

@snowch
Created June 18, 2024 20:36
Show Gist options
  • Save snowch/5128013f4b37682afccd7628d75a159e to your computer and use it in GitHub Desktop.
Save snowch/5128013f4b37682afccd7628d75a159e to your computer and use it in GitHub Desktop.
build and run xv6 in amd64 UTM virtual machine on Mac M3 host
sudo apt-get install qemu qemu-system-x86
sudo apt-get install libc6-dev:i386
git clone https://github.com/mit-pdos/xv6-public.git xv6
chmod 700 -R xv6
cd xv6
make
make qemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment