doc: add missing code formatting in vm.md
This commit adds missing code formatting in a few places in the vm module documentation.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
documentation is changed or added -
commit message follows commit guidelines