qemuBlockStorageSourceAttachRollback: Sanitize warning messages

Mention the QMP command 'device_add' rather than 'qemuMonitorAddDevice'
and remove the weird formatting.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2021-10-01 13:46:53 +02:00
parent 93cdb1cae2
commit 3d4f0aba0d

View File

@ -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)