[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] qtest: use correct boolean type for failover property
|
From: |
Zhao Liu |
|
Subject: |
Re: [PATCH] qtest: use correct boolean type for failover property |
|
Date: |
Fri, 5 Jan 2024 00:37:14 +0800 |
On Wed, Jan 03, 2024 at 12:30:05PM +0000, Daniel P. Berrangé wrote:
> Date: Wed, 3 Jan 2024 12:30:05 +0000
> From: "Daniel P. Berrangé" <berrange@redhat.com>
> Subject: [PATCH] qtest: use correct boolean type for failover property
>
> QMP device_add does not historically validate the parameter types.
> At some point it will likely change to enforce correct types, to
> match behaviour of -device. The failover property is expected to
> be a boolean in JSON.
>
> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
> ---
> tests/qtest/virtio-net-failover.c | 36 +++++++++++++++----------------
> 1 file changed, 18 insertions(+), 18 deletions(-)
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>