From 3d4f0aba0d092193c66e75cbb759646f31420c51 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Fri, 1 Oct 2021 13:46:53 +0200 Subject: [PATCH] qemuBlockStorageSourceAttachRollback: Sanitize warning messages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mention the QMP command 'device_add' rather than 'qemuMonitorAddDevice' and remove the weird formatting. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- src/qemu/qemu_block.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)