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

feat(shim-kvm): add threading for KVM #2517

Merged
merged 3 commits into from
Jan 31, 2023
Merged

Conversation

haraldh
Copy link
Member

@haraldh haraldh commented Jan 31, 2023

No description provided.

An I/O port used by the KVM shim to trigger an exit to the host telling
it to terminate the current thread. Because it does not return,
a sallyport block cannot be used.

Signed-off-by: Harald Hoyer <harald@profian.com>
Signed-off-by: Harald Hoyer <harald@profian.com>
@haraldh haraldh requested a review from a team as a code owner January 31, 2023 15:32
@enarxbot enarxbot enabled auto-merge (rebase) January 31, 2023 15:32
@github-actions github-actions bot added amd sev Issues related to AMD SEV backend intel sgx Issues related to Intel SGX kvm sallyport testing Issues related to testing Enarx labels Jan 31, 2023
Signed-off-by: Harald Hoyer <harald@profian.com>
@codecov
Copy link

codecov bot commented Jan 31, 2023

Codecov Report

Merging #2517 (999257c) into main (86d36c1) will decrease coverage by 0.59%.
The diff coverage is 25.25%.

@@            Coverage Diff             @@
##             main    #2517      +/-   ##
==========================================
- Coverage   57.34%   56.75%   -0.59%     
==========================================
  Files         205      205              
  Lines       13919    14225     +306     
==========================================
+ Hits         7982     8074      +92     
- Misses       5937     6151     +214     
Impacted Files Coverage Δ
.../sallyport/src/guest/call/enarxcall/passthrough.rs 83.33% <0.00%> (-7.58%) ⬇️
crates/sallyport/src/guest/handler.rs 63.15% <0.00%> (-0.21%) ⬇️
crates/sallyport/src/item/enarxcall/mod.rs 85.71% <ø> (ø)
crates/sallyport/src/lib.rs 100.00% <ø> (ø)
crates/shim-kvm/src/exec.rs 0.00% <ø> (ø)
crates/shim-kvm/src/hostcall.rs 0.00% <0.00%> (ø)
crates/shim-kvm/src/lib.rs 100.00% <ø> (ø)
crates/shim-kvm/src/syscall.rs 0.00% <0.00%> (ø)
crates/shim-kvm/src/thread.rs 2.61% <0.00%> (-3.45%) ⬇️
crates/shim-sgx/src/handler/mod.rs 0.00% <0.00%> (ø)
... and 10 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@haraldh haraldh disabled auto-merge January 31, 2023 17:46
@haraldh haraldh merged commit 3284091 into enarx:main Jan 31, 2023
@haraldh haraldh deleted the feat/kvm/threading branch January 31, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amd sev Issues related to AMD SEV backend intel sgx Issues related to Intel SGX kvm sallyport testing Issues related to testing Enarx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant