qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] iotests/178: Pass value to invalid option


From: Kevin Wolf
Subject: Re: [PATCH] iotests/178: Pass value to invalid option
Date: Tue, 26 Jan 2021 15:01:45 +0100

Am 26.01.2021 um 13:38 hat Max Reitz geschrieben:
> ccd3b3b8112 has deprecated short-hand boolean options (i.e., options
> with values).  All options without values are interpreted as boolean
> options, so this includes the invalid option "snapshot.foo" used in
> iotest 178.
> 
> So after ccd3b3b8112, 178 fails with:
> 
>   +qemu-img: warning: short-form boolean option 'snapshot.foo' deprecated
>   +Please use snapshot.foo=on instead
> 
> Suppress that deprecation warning by passing some value to it (it does
> not matter which, because the option is invalid anyway).
> 
> Fixes: ccd3b3b8112b670fdccf8a392b8419b173ffccb4
>        ("qemu-option: warn for short-form boolean options")
> Signed-off-by: Max Reitz <mreitz@redhat.com>

Thanks, applied to the block branch.

Kevin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]