qga: Improve error report by calling error_setg_win32()
commit672db77892d367f1dc3797571511acce27597a11
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Fri, 28 Feb 2020 10:07:25 +0000 (28 11:07 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 9 Mar 2020 12:36:15 +0000 (9 13:36 +0100)
tree05ffa465723e65bd11a7ad462b36b8e305317e2f
parentcf0c76cd6d6fc2f6e62160cd209bd0ed622bb83c
qga: Improve error report by calling error_setg_win32()

Use error_setg_win32() which adds a hint similar to strerror(errno)).

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200228100726.8414-4-philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
qga/channel-win32.c
qga/commands-win32.c