Skip to content

Commit 1eb1d9a

Browse files
authored
Merge pull request #4388 from qingwangrh/4590_fix_boot_and_windows_dd
disk_extension:fix boot error and change to dd
2 parents 057849d + 3027c58 commit 1eb1d9a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

qemu/tests/cfg/disk_extension.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
loop_device_img_tag = "stg1"
1919
images += " ${loop_device_img_tag}"
2020
boot_drive_stg0 = no
21+
image_boot = yes
2122
image_raw_device_stg0 = yes
2223
image_name_stg0 = ${tmpfs_folder}/stg0.raw
2324
image_size_stg0 = ${begin_size}
@@ -33,7 +34,7 @@
3334
Linux:
3435
guest_cmd = "dd if=/dev/urandom of=%s oflag=direct bs=${max_size}"
3536
Windows:
36-
guest_cmd = "WIN_UTILS:\coreutils\DummyCMD.exe %s ${max_size_in_bytes} 1"
37+
guest_cmd = "WIN_UTILS:\dd.exe if=/dev/random of=%s bs=1M count=500"
3738
cd_format_cd1 = ide
3839
virtio_blk:
3940
driver_name = viostor

0 commit comments

Comments
 (0)