-
Notifications
You must be signed in to change notification settings - Fork 32
Add TD Info as Initialization Header #102
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
base: main
Are you sure you want to change the base?
Conversation
This reverts commit 378acf1.
igvm_defs/src/lib.rs
Outdated
| pub used_size: u64, | ||
| } | ||
|
|
||
| /// Optional launch time configurations for VMs running on TDX platform. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really optional if it impacts the measurement of the guest? It's optional in the sense of "if you don't specify this, the VMM may choose whatever value it likes" correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It's optional in the sense that the IGVM file should load even if you don't specify these fields. I don't think all guests care if the measurements are different across different hosts, so some guests may choose not to specify these fields.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But whatever the host has chosen to put for this value, will be reflected in the measurement report right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's correct
|
Hi @yuehtingchen, I have a few comments, just from the git POV, I'm not an IGVM expert so I'll leave that to the maintainers.
Thanks! |
|
Note that we do squash PRs for this repo, but the feedback is still useful as it helps reviewers logically reason about changes. |
TDX VMs require additional launch time configurations for better flexibility