SEV-SNP fixes#234
Conversation
2e90406 to
4f50bb5
Compare
4f50bb5 to
5b94a30
Compare
|
@slp I think I've fixed the issue by making a change to However, I'm met with another vague error when running the VM: Have you seen this before? |
I don't know much about it specifically but in the match statement where you check the vCPU exit on Not sure if you've seen this before but you can find more details on the error in the KVM API docs Looks like the 6 indicates
|
|
@jakecorrenti Nice catch. I switched to libkrunfw 4.0.0 and the problem disappears. It seems there's a breaking change between libkrunfw 4.0.0 --> 4.4.2 |
|
@slp libkrunfw-sev v4.0.0 works fine, yet this issue is found on v4.2.0. It seems something broke in that release. |
|
@tylerfanelli Looks like there was ~8 changes to the SEV patches between v4.0 and v4.2. I wonder if you could add them one by one starting with the rebase from the older kernel and see if any of them suddenly trigger it. Just shooting ideas out, no idea if they'll help or not :) |
5b94a30 to
2474e50
Compare
Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
2474e50 to
be31a58
Compare
|
As it turns out, I don't require a change to |
This commit automatically enables the SMT bit in a SEV-SNP guest's policy and replaces the deprecated
GuestRegionMmap::as_slice()method to get slices of measured regions.Marking as draft as the
as_slice()replacement still requires a few changes.