Comment 12 for bug 1982896

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for helping Michal @Juro !

Just as FYI for anyone else following this bug, this is a very crude way to enable SGX. It works, but it shouldn't be considered the nice way to do it.

Later versions of libvirt allow to do that in a much safer and expressive way including control of SGX related numa, but backporting that to Jammy is like 60+ patches and probably a stretch for the SRU policy.
So upgrading to a newer Ubuntu is the preferable way for that.

The changes requested here OTOH mostly allow the direct addition of qemu arguments as needed by Juro to get SGX activated without full libvirt support for it. Not as nice, but much less churn to consider for potential regressions that we might otherwise introduce.