提交 c416a20d 编写于 作者: C Chen Hanxiao 提交者: Michal Privoznik

virerror: mark VIR_ERR_AGENT_UNSYNCED as DEPRECATED

Since commit 5e5019bf, we've no longer use
VIR_ERR_AGENT_UNSYNCED anymore.
Mark it as DEPRECATED.
Signed-off-by: NChen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
上级 2d07f1f0
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册