qtest: use correct boolean type for failover property
commitb01932889d62f20b5d1eedd605a5ccc4fe73004f
authorDaniel P. Berrangé <berrange@redhat.com>
Wed, 3 Jan 2024 12:30:05 +0000 (3 12:30 +0000)
committerThomas Huth <thuth@redhat.com>
Thu, 11 Jan 2024 10:39:26 +0000 (11 11:39 +0100)
treedabb00a1908bda9dc8adeb0bc43f64c3ed8f160c
parenteea9f763002b369c2d601a3eedb905b945563e5a
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>
Message-ID: <20240103123005.2400437-1-berrange@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/virtio-net-failover.c