Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sync regs instead of get/set regs on KVM #200

Open
simongdavies opened this issue Jan 29, 2025 · 0 comments
Open

Use sync regs instead of get/set regs on KVM #200

simongdavies opened this issue Jan 29, 2025 · 0 comments

Comments

@simongdavies
Copy link
Contributor

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

@simongdavies simongdavies added the kind/enhancement New feature or request label Jan 29, 2025
@syntactically syntactically added area/performance and removed kind/enhancement New feature or request labels Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants