Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blitz/kvm-timer-demo
A small demonstrator of timer_settime use for KVM vCPUs
https://github.com/blitz/kvm-timer-demo
Last synced: 1 day ago
JSON representation
A small demonstrator of timer_settime use for KVM vCPUs
- Host: GitHub
- URL: https://github.com/blitz/kvm-timer-demo
- Owner: blitz
- License: gpl-2.0
- Created: 2023-11-07T23:52:56.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-11-08T00:45:33.000Z (about 1 year ago)
- Last Synced: 2023-11-08T07:21:50.467Z (almost 1 year ago)
- Language: C++
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Overview
This repository contains a small KVM timer demo. See the relevant [x86.lol post](https://x86.lol/generic/2023/11/07/split-lock.html).
## Running with Nix
Install [Nix](https://nix.dev/install-nix#install-nix) and enable [Nix Flakes](https://nixos.wiki/wiki/Flakes).
Then you can run the example without cloning this repo:
```console
$ nix run github:blitz/kvm-timer-demo
```or after cloning this repo:
```console
$ nix run
```## Build Requirements
- nasm
- xxd
- g++ >= 4.8.1
- make## Execution Requirements
- access to /dev/kvm
## Build
```console
$ make
```## Running
```console
$ ./timer
```