From 072a5bad77bd2264561340e6c36290cec427f25b Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Wed, 16 Sep 2026 17:19:32 +0000 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=20microVM=20=E7=A3=81=E7=9B=98?= =?UTF-8?q?=E5=90=AF=E7=94=A8=20direct=20I/O?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/microvm-runner-launch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/microvm-runner-launch b/scripts/microvm-runner-launch index 64e3a5c..50c044e 100755 --- a/scripts/microvm-runner-launch +++ b/scripts/microvm-runner-launch @@ -76,8 +76,8 @@ if timeout --signal=TERM --kill-after=30s "$vm_timeout" "$cloud_hypervisor" \ --firmware "$firmware" \ --cpus "boot=$cpus" \ --memory "size=$memory" \ - --disk "path=$overlay,image_type=qcow2" \ - --disk "path=$seed,readonly=on,image_type=raw" \ + --disk "path=$overlay,image_type=qcow2,direct=on,sparse=off" \ + --disk "path=$seed,readonly=on,image_type=raw,direct=on,sparse=off" \ --net "tap=$tap,mac=$mac" \ --serial "file=$serial" \ --console off; then