Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```