scmi/README.md: convert code blocks to markdown
Code blocks were in some kind of rSt format (?). Convert them to markdown. Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
This commit is contained in:
parent
bf1ae745b7
commit
72f811cf4f
1 changed files with 11 additions and 12 deletions
|
|
@ -40,22 +40,21 @@ messages on the standard error output.
|
||||||
|
|
||||||
The daemon should be started first:
|
The daemon should be started first:
|
||||||
|
|
||||||
::
|
```shell
|
||||||
|
host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo
|
||||||
host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo
|
```
|
||||||
|
|
||||||
The QEMU invocation needs to create a chardev socket the device can
|
The QEMU invocation needs to create a chardev socket the device can
|
||||||
use to communicate as well as share the guests memory over a memfd:
|
use to communicate as well as share the guests memory over a memfd:
|
||||||
|
|
||||||
::
|
```shell
|
||||||
|
host# qemu-system \
|
||||||
host# qemu-system \
|
-chardev socket,path=scmi.sock,id=scmi \
|
||||||
-chardev socket,path=scmi.sock,id=scmi \
|
-device vhost-user-scmi-pci,chardev=vscmi,id=scmi \
|
||||||
-device vhost-user-scmi-pci,chardev=vscmi,id=scmi \
|
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
|
||||||
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
|
-m 4096 \
|
||||||
-m 4096 \
|
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
|
||||||
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
|
```
|
||||||
...
|
|
||||||
|
|
||||||
## Supported SCMI protocols
|
## Supported SCMI protocols
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue