From 0b73e5e37c0c241c3be3664af006745f9f7c8585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Tue, 5 Jun 2018 19:06:48 +0200 Subject: [PATCH] block_hotplug: Use the correct 'blk_extra_params' separator MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'blk_extra_params' uses ',' as separator and not ' '. Using ' ' leads to ' serial' instead of 'serial' being passed as an argument. Theoretically I could just use '=' without any separator, but in order to keep '+=' I decided to simply add the separator here. Empty inputs are automatically skipped on parsing. Signed-off-by: Lukáš Doktor --- qemu/tests/cfg/block_hotplug.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu/tests/cfg/block_hotplug.cfg b/qemu/tests/cfg/block_hotplug.cfg index 643f7958..f33fe26d 100644 --- a/qemu/tests/cfg/block_hotplug.cfg +++ b/qemu/tests/cfg/block_hotplug.cfg @@ -64,7 +64,7 @@ only with_plug only one_pci sub_type_after_plug = block_resize - blk_extra_params_stg0 += " serial=TARGET_DISK0" + blk_extra_params_stg0 += ",serial=TARGET_DISK0" block_size_cmd = "fdisk -l | grep {0}" block_size_pattern = ",\s+(\d+\s+b)ytes" disk_change_ratio = "1.5 0.5" -- GitLab