[PATCH 029/103] qemuBlockStorageSourceAttachRollback: Sanitize warning messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux