Skip to content
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

sev-doc: Fix ovmf firmware paths #1780

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions xml/art_amd-sev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@
use UEFI firmware. &libvirt; can automatically select an appropriate SEV
or SEV-ES enabled UEFI firmware, or one can be specified manually.
Currently, the only firmware supported are
<filename>/usr/share/qemu/ovmf-x86_64-code.bin</filename> and
<filename>/usr/share/qemu/ovmf-x86_64-4m-code.bin</filename>. See
<filename>/usr/share/qemu/ovmf-x86_64-sev.bin</filename> and
<filename>/usr/share/qemu/ovmf-x86_64-sev-code.bin</filename>. See
<xref linkend="cha-kvm-inst-virtman-advanced-uefi"/> for more details on
using UEFI firmware and the auto-selection feature.
</para>
Expand Down Expand Up @@ -171,8 +171,7 @@
&lt;/memoryBacking&gt;
&lt;os&gt;
&lt;type arch='x86_64' machine='pc-q35-2.11'&gt;hvm&lt;/type&gt;
&lt;loader readonly='yes' type='pflash'&gt;/usr/share/qemu/ovmf-x86_64-ms-4m-code.bin&lt;/loader&gt;
&lt;nvram&gt;/var/lib/libvirt/qemu/nvram/sles15-sev-guest_VARS.fd&lt;/nvram&gt;
&lt;loader readonly='yes' stateless='yes' type='pflash'&gt;/usr/share/qemu/ovmf-x86_64-sev.bin&lt;/loader&gt;
&lt;boot dev='hd'/&gt;
&lt;/os&gt;
&lt;launchSecurity <co xml:id="sec-amd-sev-ex-launchsecurity"/> type='sev'&gt;
Expand Down Expand Up @@ -564,7 +563,7 @@ sev-policy : 7</screen>
</para>

<screen>&prompt.root;virt-qemu-sev-validate --api-major 1 --api-minor 51 --build-id 3 --policy 7 \
--firmware /usr/share/qemu/ovmf-x86_64-4m.bin --tik sevtest_tik.bin --tek sevtest_tek.bin --num-cpus 4 \
--firmware /usr/share/qemu/ovmf-x86_64-sev.bin --tik sevtest_tik.bin --tek sevtest_tek.bin --num-cpus 4 \
--cpu-family 25 --cpu-model 1 --cpu-stepping 1 \
--measurement QJ0oDpFmWj+bGZzFoMPbAxTuC6QD44W5w88x/hQM8toVsB75ci7V1YDfYoI9GTk</screen>

Expand Down