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
runtime: fix creation of SEV confidential container on SNP enabled host. #9037
Conversation
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.
Ah, thanks Niteesh for fixing this.
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.
Great catch. We're changing a lot of stuff to ConfidentialGuest
, but the snpGuest
flag should be SevSnpGuest
, because ConfidentialGuest
is true for both SEV and SNP.
79526f8
to
32bc08f
Compare
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.
@niteeshkd, would you mind to add a commiit message explaining why this is needed?
If this is a regression, mind to mention when we regressed?
This kind of information is crucial for maintainers to navigate through the history of the projects (and bugs, and fixes).
Answering some of my own questions here, it seems that the regression was introduced by de39fb7 (which, if had been merged with a reasonable commit message would have made our lives easier at this point --)). Let's also loop in @zvonkok to the loop to make sure it doesn't break his GPU related work, and if it does break, figure out the best way to solve. |
32bc08f
to
ca2304f
Compare
@fidencio updated the commit message. |
This is needed to fix the bug which is not allowing to create SEV container on SNP enabled host anymore. This is a regression that was introduced as part of the following commit: kata-containers@de39fb7 Fixes: kata-containers#9036 Signed-off-by: Niteesh Dubey <niteesh@us.ibm.com>
ca2304f
to
3e38367
Compare
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.
lgtm, thanks @niteeshkd!
Created #9040 to add a test in future. |
All required checks are passing on this one. @stevenhorsman @danmihai1 @fidencio We good to merge this? |
/test |
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.
LGTM
Fixes the issue #9036 .