From 917d8a539041e6708b0fb97b42463976c6965b2e Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 14 Oct 2020 11:36:02 +0200 Subject: [PATCH] qemumonitorjsontest: Allow deprecation of 'nbd-server-add' QMP command 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 Reviewed-by: Michal Privoznik --- tests/qemumonitorjsontest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qemumonitorjsontest.c b/tests/qemumonitorjsontest.c index 3973c762f0..a6e14a1b00 100644 --- a/tests/qemumonitorjsontest.c +++ b/tests/qemumonitorjsontest.c @@ -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);