Skip to content

Commit

Permalink
Documentation: Update installation documents for new Kernel/QEMU
Browse files Browse the repository at this point in the history
Update the installation document to cover the changes QEMU command
line options with the updated SVSM development versions for the Linux
kernel and QEMU.

Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
joergroedel committed Dec 17, 2024
1 parent 6fedb46 commit 4b8a807
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Documentation/docs/installation/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,10 @@ guest:

```
-cpu EPYC-v4 \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1 \
-object memory-backend-memfd,id=ram1,size=8G,share=true,prealloc=false,reserve=false\
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1,igvm-file=/path/to/coconut-qemu.igvm \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1,igvm-cfg=igvm0 \
-object memory-backend-memfd,id=ram1,size=8G,share=true,prealloc=false,reserve=false \
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1 \
-object igvm-cfg,id=igvm0,file=/path/to/coconut-qemu.igvm
```

This selects the ```EPYC-v4``` CPU type which will pass the CPUID validation
Expand All @@ -293,9 +294,10 @@ $ export IGVM=/path/to/coconut-qemu.igvm
$ sudo $HOME/bin/qemu-svsm/bin/qemu-system-x86_64 \
-enable-kvm \
-cpu EPYC-v4 \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1 \
-machine q35,confidential-guest-support=sev0,memory-backend=ram1,igvm-cfg=igvm0 \
-object memory-backend-memfd,id=ram1,size=8G,share=true,prealloc=false,reserve=false \
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1,igvm-file=$IGVM \
-object sev-snp-guest,id=sev0,cbitpos=51,reduced-phys-bits=1 \
-object igvm-cfg,id=igvm0,file=$IGVM \
-smp 8 \
-no-reboot \
-netdev user,id=vmnic -device e1000,netdev=vmnic,romfile= \
Expand Down

0 comments on commit 4b8a807

Please sign in to comment.