From: Peter Krempa Date: Fri, 1 Oct 2021 11:46:53 +0000 (+0200) Subject: qemuBlockStorageSourceAttachRollback: Sanitize warning messages X-Git-Tag: v7.9.0-rc1~204 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4f0aba0d092193c66e75cbb759646f31420c51;p=thirdparty%2Flibvirt.git qemuBlockStorageSourceAttachRollback: Sanitize warning messages Mention the QMP command 'device_add' rather than 'qemuMonitorAddDevice' and remove the weird formatting. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c index 393d3f44d7..b6d6d95692 100644 --- a/src/qemu/qemu_block.c +++ b/src/qemu/qemu_block.c @@ -1817,15 +1817,15 @@ qemuBlockStorageSourceAttachRollback(qemuMonitor *mon, if (data->chardevAdded) { if (qemuMonitorDetachCharDev(mon, data->chardevAlias) < 0) { - VIR_WARN("Unable to remove chardev %s after failed " "qemuMonitorAddDevice", + VIR_WARN("Unable to remove chardev %s after failed 'device_add'", data->chardevAlias); } } if (data->driveAdded) { if (qemuMonitorDriveDel(mon, data->driveAlias) < 0) - VIR_WARN("Unable to remove drive %s (%s) after failed " - "qemuMonitorAddDevice", data->driveAlias, data->driveCmd); + VIR_WARN("Unable to remove drive %s (%s) after failed 'device_add'", + data->driveAlias, data->driveCmd); } if (data->formatAttached)