-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add support for arm cca #211
base: main
Are you sure you want to change the base?
Conversation
702d17f
to
86f75cd
Compare
b47ef94
to
9e6e5bb
Compare
9e6e5bb
to
68dff0c
Compare
d5952be
to
d4362d6
Compare
cae99a3
to
4a0e61b
Compare
5089b4f
to
e7e2a90
Compare
dae13da
to
6cebf95
Compare
6cebf95
to
94688b2
Compare
94688b2
to
2077cfc
Compare
18e9a7d
to
edb2f4a
Compare
Signed-off-by: Matias Ezequiel Vara Larsen <[email protected]>
Enable to build confidential guests using ARM CCA (Confidential Computing Architecture). This work relies on v7 series for Linux and v5 series for KVM. This has been tested only on the corresponding FVP model simulator. For testing, you require specific kvm-ioctls and kvm-bindings crates. Signed-off-by: Matias Ezequiel Vara Larsen <[email protected]>
edb2f4a
to
5ba47b6
Compare
@MatiasVara is this ready for review, or should I wait? |
@jakecorrenti I'm addressing the KVM guest_memfd changes (which @MatiasVara also added in this PR) to my latest SEV-SNP patches. This will probably require a rebase after that. Once that happens, it will likely be ready for a review. |
I think the PR is ready to review. The current issue is that it does not work for the latest series for KVM (v6). I am investigating the issue. |
This PR aims at adding support to build realm guests. First commit adds support for
create_guest_memfd()
andset_user_memory_region2()
. To do this, thememory_init()
is modified by adding a boolean parameter. This is required when building a confidential guest for arm cca and probably also required by other cases.The second commit imports the
virtee/cca
crate and adds the steps to build a cca guest. The following items should be completed before merge the PR:This has been testing using the v7 series for Linux as a guest and v5 series for KVM on FVP model.
Feedback is welcome.