docs: Fix the command order in the vfio-user docs

The test image file needs to be created before creating the filesystem
on it.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2021-08-25 16:04:51 +01:00 committed by Bo Chen
parent 4d2a4e2805
commit b075aada8c

View File

@ -50,8 +50,8 @@ Create an NVMe controller listening on a vfio-user socket with a simple block de
```sh
sudo scripts/setup.sh
rm ~/images/test-disk.raw
mkfs.ext4 ~/images/test-disk.raw
truncate ~/images/test-disk.raw -s 128M
mkfs.ext4 ~/images/test-disk.raw
sudo killall ./build/bin/nvmf_tgt
sudo ./build/bin/nvmf_tgt -i 0 -e 0xFFFF -m 0x1 &
sleep 2