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

Added a sample Linux kernel-based confidential VM #37

Merged
merged 13 commits into from
Feb 16, 2024
Merged

Conversation

wojciechozga
Copy link
Member

This PR brings a sample Linux kernel confidential VM under confidential-vms/ directory and adds the required build procedure to create a confidential VM image. The VM image is then copied to the overlay of a root filesystem of a test system running on qemu.

Both hypervisor's and guest's kernel are build with help of buildroot. The guest kernel is patched in a way that the Kernel makes a convert to a confidential VM call early in the boot process. Virtio drivers haven't been patched yet.

…mpty vectors for page sizes that initially have 0 tokens

Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
…fixes to kvm

Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
@wojciechozga wojciechozga added the enhancement New feature or request label Feb 14, 2024
@wojciechozga wojciechozga self-assigned this Feb 14, 2024
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
…able shared pages between CVM and the hypervisor

Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
…ebug output

Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
@wojciechozga wojciechozga merged commit cb47f00 into main Feb 16, 2024
4 checks passed
@wojciechozga wojciechozga deleted the woz/linuxguest branch February 16, 2024 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant