Skip to content

Dev/preemption - #126

Draft
tom-kuchler wants to merge 7 commits into
mainfrom
dev/preemption
Draft

Dev/preemption#126
tom-kuchler wants to merge 7 commits into
mainfrom
dev/preemption

Conversation

@tom-kuchler

Copy link
Copy Markdown
Collaborator

Adding preemption to the KVM backend.
Probably want to make a few more changes before fully merging.
Could also consider first splitting of the preemption mechanism as one PR, since that is generally useful and then looking at the low priority work separately.

One thing to consider is the way interrupts are sent to the running functions.
The "recommended" way in the KVM manual is installing a signal handler, that sets the VM to immediately exit if started.
If the VM is about to start, it will immediately exit, if it has already started, it will exit because of the interrupt handler.
(Documentation here: https://docs.kernel.org/virt/kvm/api.html#the-kvm-run-structure)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants