mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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:
parent
93cdb1cae2
commit
3d4f0aba0d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user