hyperlight-dev / hyperlight-dev/hyperlight

Use sync regs instead of get/set regs on KVM

Open
#200 2 comments 0 reactions 0 assignees View on GitHub
area/performance lifecycle/confirmed
Dominant language
Rust
Stars
4.7k
Forks
208
Avg merge
1d 7h
Merged PRs (30d)
47

Description

KVM has a set of functions (`sync_regs`, `sync_regs_mut`, `clear_sync_dirty_regs`, `clear_sync_valid_regs`, `set_sync_dirty_regs` and `set_sync_valid_regs`) that cause synchronisation of registers without the need to call get/set regs, this improves performance as it means that extra ioctls are not required to retrieve or set registers.

We should replace get/set regs with the appropriate sync functions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.