From b075aada8c733bd094acdaa71f326108888f7da3 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Wed, 25 Aug 2021 16:04:51 +0100 Subject: [PATCH] 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 --- docs/vfio-user.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vfio-user.md b/docs/vfio-user.md index 9136442d7..d64f626a5 100644 --- a/docs/vfio-user.md +++ b/docs/vfio-user.md @@ -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