This repository contains a small KVM timer demo. See the relevant x86.lol post.
Install Nix and enable Nix Flakes.
Then you can run the example without cloning this repo:
$ nix run github:blitz/kvm-timer-demo
or after cloning this repo:
$ nix run
- nasm
- xxd
- g++ >= 4.8.1
- make
- access to /dev/kvm
$ make
$ ./timer