tests/qtest: machine-none-test: Use double quotes to pass the cpu option
commitde56338e068c97709febaf7ac45088b4b4eb0037
authorBin Meng <bin.meng@windriver.com>
Wed, 24 Aug 2022 09:40:14 +0000 (24 17:40 +0800)
committerThomas Huth <thuth@redhat.com>
Mon, 29 Aug 2022 13:28:51 +0000 (29 15:28 +0200)
treee690a5c6a6de1794de873eaf403a790830e8cd55
parentfbde3ae8e7b73f4d5c46206ae3d22bcc470c55e1
tests/qtest: machine-none-test: Use double quotes to pass the cpu option

Single quotes in the arguments (e.g.: -cpu 'qemu64,apic-id=0') are
not removed in the Windows environment before it is passed to the
QEMU executable. Such argument causes a failure in the QEMU CPU
option parser codes.

Change to use double quotes which works fine on all platforms.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20220824094029.1634519-37-bmeng.cn@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/machine-none-test.c