Skip to content

Commit 72f811c

Browse files
epilysvireshk
authored andcommitted
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 <[email protected]>
1 parent bf1ae74 commit 72f811c

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

vhost-device-scmi/README.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,22 +40,21 @@ messages on the standard error output.
4040

4141
The daemon should be started first:
4242

43-
::
44-
45-
host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo
43+
```shell
44+
host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo
45+
```
4646

4747
The QEMU invocation needs to create a chardev socket the device can
4848
use to communicate as well as share the guests memory over a memfd:
4949

50-
::
51-
52-
host# qemu-system \
53-
-chardev socket,path=scmi.sock,id=scmi \
54-
-device vhost-user-scmi-pci,chardev=vscmi,id=scmi \
55-
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
56-
-m 4096 \
57-
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
58-
...
50+
```shell
51+
host# qemu-system \
52+
-chardev socket,path=scmi.sock,id=scmi \
53+
-device vhost-user-scmi-pci,chardev=vscmi,id=scmi \
54+
-machine YOUR-MACHINE-OPTIONS,memory-backend=mem \
55+
-m 4096 \
56+
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
57+
```
5958

6059
## Supported SCMI protocols
6160

0 commit comments

Comments
 (0)