]> xenbits.xensource.com Git - libvirt.git/commitdiff
virerror: mark VIR_ERR_AGENT_UNSYNCED as DEPRECATED
authorChen Hanxiao <chenhanxiao@gmail.com>
Thu, 7 Dec 2017 01:59:14 +0000 (09:59 +0800)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Dec 2017 13:30:20 +0000 (14:30 +0100)
Since commit 5e5019bf, we've no longer use
VIR_ERR_AGENT_UNSYNCED anymore.
Mark it as DEPRECATED.

Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
include/libvirt/virterror.h
src/util/virerror.c

index d2b5f1fd4ea73b197983af02cc7abc1554e0b6a6..91ba2978433198aed3b755ccb2700a7d3b86a9e5 100644 (file)
@@ -318,7 +318,7 @@ typedef enum {
     VIR_ERR_NO_SERVER = 95,             /* Server was not found */
     VIR_ERR_NO_CLIENT = 96,             /* Client was not found */
     VIR_ERR_AGENT_UNSYNCED = 97,        /* guest agent replies with wrong id
-                                           to guest-sync command */
+                                           to guest-sync command (DEPRECATED)*/
     VIR_ERR_LIBSSH = 98,                /* error in libssh transport driver */
 } virErrorNumber;
 
index 91022c3b6352b5431bc9f437114b8fc10b85f6de..562c3bc61d94acad42e480fdc47e63d6f3e462be 100644 (file)
@@ -1441,7 +1441,7 @@ virErrorMsg(virErrorNumber error, const char *info)
             else
                 errmsg = _("Client not found: %s");
             break;
-        case VIR_ERR_AGENT_UNSYNCED:
+        case VIR_ERR_AGENT_UNSYNCED: /* DEPRECATED */
             if (info == NULL)
                 errmsg = _("guest agent replied with wrong id to guest-sync command");
             else