mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
qerror: add five qerror strings
Add five new qerror strings, they are about listen/connect socket: QERR_SOCKET_CONNECT_IN_PROGRESS QERR_SOCKET_CONNECT_FAILED QERR_SOCKET_LISTEN_FAILED QERR_SOCKET_BIND_FAILED QERR_SOCKET_CREATE_FAILED Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Amos Kong <akong@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
e2d87bff12
commit
aed3d11df6
2 changed files with 35 additions and 0 deletions
20
qerror.c
20
qerror.c
|
@ -304,6 +304,26 @@ static const QErrorStringTable qerror_table[] = {
|
|||
.error_fmt = QERR_VNC_SERVER_FAILED,
|
||||
.desc = "Could not start VNC server on %(target)",
|
||||
},
|
||||
{
|
||||
.error_fmt = QERR_SOCKET_CONNECT_IN_PROGRESS,
|
||||
.desc = "Connection can not be completed immediately",
|
||||
},
|
||||
{
|
||||
.error_fmt = QERR_SOCKET_CONNECT_FAILED,
|
||||
.desc = "Failed to connect to socket",
|
||||
},
|
||||
{
|
||||
.error_fmt = QERR_SOCKET_LISTEN_FAILED,
|
||||
.desc = "Failed to set socket to listening mode",
|
||||
},
|
||||
{
|
||||
.error_fmt = QERR_SOCKET_BIND_FAILED,
|
||||
.desc = "Failed to bind socket",
|
||||
},
|
||||
{
|
||||
.error_fmt = QERR_SOCKET_CREATE_FAILED,
|
||||
.desc = "Failed to create socket",
|
||||
},
|
||||
{}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue