qemu-e2k/qga
Jonathon Reinhart bad0227d3a qga: Support Unicode paths in guest-file-open on win32
Currently, the win32 port of QEMU Guest Agent does not properly handle Unicode
paths. The JSON decoder produces a valid UTF-8 path string, but this is passed
directly to CreateFileA, which is expecting an ANSI string and not UTF-8. This
leads to mangled filenames.

This patch follows the example of qmp_guest_set_user_password() and uses
g_utf8_to_utf16() to convert the string to UTF-16 and calls CreateFileW()
explicitly.

Signed-off-by: Jonathon Reinhart <jreinhart@cc-sw.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2018-10-30 16:48:49 -05:00
..
installer qga-win: Fixing msi upgrade disallow in WiX file 2018-07-03 15:20:50 -05:00
vss-win32
channel-posix.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
channel-win32.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
channel.h
commands-posix.c qga: fix file descriptor leak 2018-07-16 15:05:58 -05:00
commands-win32.c qga: Support Unicode paths in guest-file-open on win32 2018-10-30 16:48:49 -05:00
commands.c glib: bump min required glib library version to 2.40 2018-06-29 12:22:28 +01:00
guest-agent-command-state.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
guest-agent-core.h Include qmp-commands.h exactly where needed 2018-02-09 13:52:10 +01:00
main.c util: add qemu_write_pidfile() 2018-10-02 18:47:55 +02:00
Makefile.objs qapi: Move qapi-schema.json to qapi/, rename generated files 2018-03-02 13:45:57 -06:00
qapi-schema.json qga/schema: fix documentation for GuestOSInfo 2018-07-03 15:20:50 -05:00
service-win32.c
service-win32.h
vss-win32.c qga: use local path for local headers 2018-06-01 19:20:38 +03:00
vss-win32.h