diff --git a/tools/cvm-image-rewriter/README.md b/tools/cvm-image-rewriter/README.md index 14b99a6..e542084 100644 --- a/tools/cvm-image-rewriter/README.md +++ b/tools/cvm-image-rewriter/README.md @@ -175,23 +175,43 @@ $ ./run.sh -i -t 10 ### 3.3 Boot a VM -After above tool is running successfully, you can boot a VM using the generated `output.qcow2` using `qemu-test.sh`. - -``` -$ sudo ./qemu-test.sh -h -Usage: qemu-test.sh [OPTION]... -Required - -i Specify initial guest image file -``` - -For example: -``` -# Boot a TD -$ sudo ./qemu-test.sh -i output.qcow2 -t td -p -f - -# Boot a normal VM -$ sudo ./qemu-test.sh -i output.qcow2 -p -f -``` +After above tool is running successfully, you can boot a VM using the generated `output.qcow2` using `qemu-test.sh` or `start-virt.sh`. + +- Boot TD or normal VM using `qemu-test.sh`. + ``` + $ sudo ./qemu-test.sh -h + Usage: qemu-test.sh [OPTION]... + Required + -i Specify initial guest image file + ``` + + For example: + ``` + # Boot a TD + $ sudo ./qemu-test.sh -i output.qcow2 -t td -p -f + + # Boot a normal VM + $ sudo ./qemu-test.sh -i output.qcow2 -p -f + ``` +- Boot TD using `start-virt.sh`. + + ``` + $ sudo ./start-virt.sh -h + Usage: start-virt.sh [OPTION]... + -i Default is tdx-guest-ubuntu22.04.qcow2 under current directory + -n Name of TD guest + -t