docs/nitro-enclave: Fix terminal commands formatting
PATCH 1/1 docs/nitro-enclave: Fix terminal commands formatting
--- docs/system/i386/nitro-enclave.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
docs/system/i386/nitro-enclave.rst +4 -4
@@ -48,13 +48,13 @@ Running a nitro-enclave VM First, run `vhost-device-vsock`__ (or a similar tool that supports vhost-user-vsock). The forward-cid option below with value 1 forwards all connections from the enclave VM to the host machine and the forward-listen (port numbers separated by '+') is used -for forwarding connections from the host machine to the enclave VM. - -__ https://github.com/rust-vmm/vhost-device/tree/main/vhost-device-vsock#using-the-vsock-backend +for forwarding connections from the host machine to the enclave VM:: $ vhost-device-vsock \ --vm guest-cid=4,forward-cid=1,forward-listen=9001+9002,socket=/tmp/vhost4.socket +__ https://github.com/rust-vmm/vhost-device/tree/main/vhost-device-vsock#using-the-vsock-backend + Now run the necessary applications on the host machine so that the nitro-enclave VM applications' vsock communication works. For example, the nitro-enclave VM's init process connects to CID 3 and sends a single byte hello heartbeat (0xB7) to let the
@@ -65,7 +65,7 @@ the applications on the host machine that would typically be running in the pare VM for successful communication with the enclave VM. Then run the nitro-enclave VM using the following command where ``hello.eif`` is -an EIF file you would use to spawn a real AWS nitro enclave virtual machine: +an EIF file you would use to spawn a real AWS nitro enclave virtual machine:: $ qemu-system-x86_64 -M nitro-enclave,vsock=c,id=hello-world \ -kernel hello-world.eif -nographic -m 4G --enable-kvm -cpu host \
Signature · 1 line
2.39.5
Ping.
Regards,
Dorjoy
Quoted 3 lines · Dorjoy Chowdhury
Ping.
Ping...
This is a very small one that should fix the UI issue in
https://www.qemu.org/docs/master/system/i386/nitro-enclave.html . It would be great if it could be reviewed and picked up for merging. Thanks!
Regards,
Dorjoy
Quoted 6 lines · Dorjoy Chowdhury
Quoted 3 lines · Dorjoy Chowdhury
Ping.
Quoted 7 lines
Ping...
This is a very small one that should fix the UI issue in
https://www.qemu.org/docs/master/system/i386/nitro-enclave.html . It would be great if it could be reviewed and picked up for merging. Thanks!
Gentle ping.
Regards,
Dorjoy
Quoted 2 lines · Dorjoy Chowdhury
Signed-off-by Dorjoy Chowdhury <[email protected]>
(nit: Please make sure to always have a patch description in the body of the patch, even if it feels like the subject says it all)
Alex
Amazon Web Services Development Center Germany GmbH Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss Eingetragen am Amtsgericht Charlottenburg unter HRB 257764 B
Sitz: Berlin
Ust-ID: DE 365 538 597
Quoted 4 lines · Alexander Graf
Quoted 1 line · Dorjoy Chowdhury
Quoted 8 lines
Quoted 1 line
Signed-off-by Dorjoy Chowdhury <[email protected]>(nit: Please make sure to always have a patch description in the body of the patch, even if it feels like the subject says it all)
Reviewed-by Alexander Graf <[email protected]>
cc Paolo. This has been reviewed so can be picked up for merging.
Regards,
Dorjoy
Philippe Mathieu-Daudé
AppliedQuoted 4 lines · Dorjoy Chowdhury
Signed-off-by Dorjoy Chowdhury <[email protected]>--- docs/system/i386/nitro-enclave.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Queued, thanks!