From 72f811cf4fa587209fb58202cf8defc2b2adeb51 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Tue, 4 Mar 2025 10:05:18 +0200 Subject: [PATCH] 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 --- vhost-device-scmi/README.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/vhost-device-scmi/README.md b/vhost-device-scmi/README.md index bcd6403..00ff431 100644 --- a/vhost-device-scmi/README.md +++ b/vhost-device-scmi/README.md @@ -40,22 +40,21 @@ messages on the standard error output. The daemon should be started first: -:: - - host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo +```shell +host# vhost-device-scmi --socket-path=scmi.sock --device fake,name=foo +``` 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: -:: - - host# qemu-system \ - -chardev socket,path=scmi.sock,id=scmi \ - -device vhost-user-scmi-pci,chardev=vscmi,id=scmi \ - -machine YOUR-MACHINE-OPTIONS,memory-backend=mem \ - -m 4096 \ - -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \ - ... +```shell +host# qemu-system \ + -chardev socket,path=scmi.sock,id=scmi \ + -device vhost-user-scmi-pci,chardev=vscmi,id=scmi \ + -machine YOUR-MACHINE-OPTIONS,memory-backend=mem \ + -m 4096 \ + -object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \ +``` ## Supported SCMI protocols