-
Notifications
You must be signed in to change notification settings - Fork 95
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 much of the basic wiring for TDX Guest VSM support. #541
Conversation
otherwise lgtm |
This comment was marked as outdated.
This comment was marked as outdated.
339f1de
to
d466871
Compare
b4a3d63
to
49bea04
Compare
|
||
let efer = self.vp.backing.efer; | ||
let efer = self.vp.backing.efer[self.vtl]; | ||
|
||
Ok(Registers { |
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.
Seems like we need a general scrub of tdx_enter_guest_state? rip, rsp, etc
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.
Yeah, I'm going to take as a follow-up auditing all the calls to the runner (vp_state, enter_guest_state, etc).
bdb8fff
to
d288a83
Compare
d288a83
to
527ad83
Compare
This is just most of the inner wiring, replacing hardcoded VTLs with the actual ones. Should introduce no functional changes just yet.