On 10/4/21 23:52, John Snow wrote:
> The series rotted already. Here's the new changes.
>
> Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
> ---
> docs/system/i386/sgx.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/system/i386/sgx.rst b/docs/system/i386/sgx.rst
> index f103ae2a2fd..9aa161af1a1 100644
> --- a/docs/system/i386/sgx.rst
> +++ b/docs/system/i386/sgx.rst
> @@ -77,9 +77,9 @@ CPUID
>
> Due to its myriad dependencies, SGX is currently not listed as supported
> in any of Qemu's built-in CPU configuration. To expose SGX (and SGX Launch
> -Control) to a guest, you must either use `-cpu host` to pass-through the
> +Control) to a guest, you must either use ``-cpu host`` to pass-through the
> host CPU model, or explicitly enable SGX when using a built-in CPU model,
> -e.g. via `-cpu <model>,+sgx` or `-cpu <model>,+sgx,+sgxlc`.
> +e.g. via ``-cpu <model>,+sgx`` or ``-cpu <model>,+sgx,+sgxlc``.
>
> All SGX sub-features enumerated through CPUID, e.g. SGX2, MISCSELECT,
> ATTRIBUTES, etc... can be restricted via CPUID flags. Be aware that enforcing
> @@ -126,7 +126,7 @@ creating VM with SGX.
> Feature Control
> ~~~~~~~~~~~~~~~
>
> -Qemu SGX updates the `etc/msr_feature_control` fw_cfg entry to set the SGX
> +Qemu SGX updates the ``etc/msr_feature_control`` fw_cfg entry to set the SGX
> (bit 18) and SGX LC (bit 17) flags based on their respective CPUID support,
> i.e. existing guest firmware will automatically set SGX and SGX LC accordingly,
> assuming said firmware supports fw_cfg.msr_feature_control.
>