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

Implement InitVm #2

Merged
merged 1 commit into from
May 1, 2024
Merged

Implement InitVm #2

merged 1 commit into from
May 1, 2024

Conversation

jakecorrenti
Copy link
Member

@jakecorrenti jakecorrenti commented Mar 14, 2024

Implement the KVM_TDX_INIT_VM ioctl.

Additionally move some device agnostic types into a shared src/linux/
folder.

Exposes the vm filedescriptor in the TdxVm type.

Implement a conversion from i32 to TdxError

@jakecorrenti jakecorrenti force-pushed the init-vm branch 2 times, most recently from bd23e7b to 2f0863c Compare March 21, 2024 21:22
@jakecorrenti jakecorrenti changed the title Implement InitVm Implement InitVm and InitVcpu Mar 21, 2024
@jakecorrenti jakecorrenti force-pushed the init-vm branch 4 times, most recently from 330315f to aac8663 Compare March 21, 2024 22:41
@jakecorrenti jakecorrenti marked this pull request as ready for review March 21, 2024 22:41
@jakecorrenti jakecorrenti changed the title Implement InitVm and InitVcpu Implement InitVm Apr 30, 2024
Copy link
Member

@tylerfanelli tylerfanelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. Minor changes.

src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
src/vm/linux/types.rs Outdated Show resolved Hide resolved
Implement the KVM_TDX_INIT_VM ioctls.

Additionally move some device agnostic types into a shared src/linux/
folder.

Exposes the vm filedescriptor in the TdxVm type.

Implement a conversion from i32 to TdxError

Signed-off-by: Jake Correnti <[email protected]>
@tylerfanelli tylerfanelli merged commit 83a2ec6 into virtee:main May 1, 2024
2 checks passed
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