[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fuzz: Avoid deprecated misuse of -drive if=sd
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] fuzz: Avoid deprecated misuse of -drive if=sd |
Date: |
Fri, 19 Mar 2021 15:08:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
On 3/19/21 2:20 PM, Markus Armbruster wrote:
> qemu-fuzz-i386-target-generic-fuzz-sdhci-v3 uses -drive=sd where it
> should use -drive if=none instead. This prints a deprecation warning:
>
> $ ./build-oss-fuzz/DEST_DIR/qemu-fuzz-i386-target-generic-fuzz-sdhci-v3
> -runs=1 -seed=1
> [ASan warnings snipped...]
> --> i386: -drive if=sd,index=0,file=null-co://,format=raw,id=mydrive:
> warning: bogus if=sd is deprecated, use if=none
> INFO: Seed: 1
> [More normal output snipped...]
>
> Support for this usage will be gone soon. Adjust the test.
>
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
> tests/qtest/fuzz/generic_fuzz_configs.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>