[PATCH 029/103] qemuBlockStorageSourceAttachRollback: Sanitize warning messages
Peter Krempa
pkrempa at redhat.com
Thu Oct 7 15:17:17 UTC 2021
Mention the QMP command 'device_add' rather than 'qemuMonitorAddDevice'
and remove the weird formatting.
Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
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)
--
2.31.1
More information about the libvir-list
mailing list