]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemumonitorjsontest: Allow deprecation of 'nbd-server-add' QMP command
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Oct 2020 09:36:02 +0000 (11:36 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 19 Oct 2020 11:36:58 +0000 (13:36 +0200)
qemu is going to deprecate this command in the next release. Allow this
as later patches will implement the use of replacement.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
tests/qemumonitorjsontest.c

index 3973c762f0b155de270b76a96dd2bcb9fa99afef..a6e14a1b009fea749b568213de46ec0bc5f24f40 100644 (file)
@@ -3276,7 +3276,7 @@ mymain(void)
     DO_TEST_GEN(qemuMonitorJSONDrivePivot);
     DO_TEST_GEN(qemuMonitorJSONScreendump);
     DO_TEST_GEN(qemuMonitorJSONOpenGraphics);
-    DO_TEST_GEN(qemuMonitorJSONNBDServerAdd);
+    DO_TEST_GEN_DEPRECATED(qemuMonitorJSONNBDServerAdd, false);
     DO_TEST_GEN(qemuMonitorJSONDetachCharDev);
     DO_TEST_GEN(qemuMonitorJSONBlockdevTrayOpen);
     DO_TEST_GEN(qemuMonitorJSONBlockdevTrayClose);