RFC: Add confidential guest support: Secure Execution support#290
Draft
mhartmay wants to merge 1 commit into
Draft
RFC: Add confidential guest support: Secure Execution support#290mhartmay wants to merge 1 commit into
mhartmay wants to merge 1 commit into
Conversation
2eb63ab to
e8b4e7c
Compare
Collaborator
Author
|
There are still some open TODOs:
|
3cd0a5c to
41c2644
Compare
8b31dc6 to
f13e0f0
Compare
b868d21 to
86914ec
Compare
Collaborator
Author
|
@arighi Do you know if this approach would work for AMD SEV? Or can you test it? (I do not have access to AMD SEV hardware) |
Owner
I also don't have access to any hardware with AMD SEV. And my knowledge about confidential computing is still very basic. |
d9539c5 to
392e3be
Compare
Example to start a confidential guest using two host-key documents
```
$ vng -r --confidential-guest --confidential-guest-args
host-key-document=/home/mhartmay/storage/git/hostkeys/a46/HKD-3931-02772A8.crt
--confidential-guest-args
host-key-document=/home/mhartmay/storage/git/hostkeys/b35/HKD-9175-029DE48.crt
```
Another example where always the given `pvimg create` arguments are used. To do
so, modify the
`default_opts` sections in `~/.config/virtme-ng/virtme-ng.conf` as following:
```
{
"default_opts": {
"confidential_guest_args": ["host-key-document=/home/user/HKD.crt"]
},
}
```
Now you can simply run `vng --confidential-guest` to prepare the Secure
Execution boot image using the given host-key document.
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
392e3be to
0ad95de
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example to start a confidential guest using two host-key documents
Another example where always the given
pvimg createarguments are used. To doso, modify the
default_optssections in~/.config/virtme-ng/virtme-ng.confas following:Now you can simply run
vng --confidential-guestto prepare the Secure Execution boot image using the given host-key document.