qemu/qga
Eric Blake 0b4b49387c qga: Support enum names in guest-file-seek
Magic constants are a pain to use, especially when we run the
risk that our choice of '1' for QGA_SEEK_CUR might differ from
the host or guest's choice of SEEK_CUR.  Better is to use an
enum value, via a qapi alternate type for back-compatibility.

With this,
 {"command":"guest-file-seek", "arguments":{"handle":1,
  "offset":0, "whence":"cur"}}
becomes a synonym for the older
 {"command":"guest-file-seek", "arguments":{"handle":1,
  "offset":0, "whence":1}}

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-02-25 09:48:50 -06:00
..
installer qga: added another non-interactive gspawn() helper file. 2015-11-25 17:56:45 -06:00
vss-win32 all: Clean up includes 2016-02-23 12:43:05 +00:00
channel-posix.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
channel-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
channel.h qemu-ga: move channel/transport functionality into wrapper class 2012-02-23 15:40:16 -06:00
commands-posix.c qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
commands-win32.c qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
commands.c qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
guest-agent-command-state.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
guest-agent-core.h qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
main.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
Makefile.objs qemu-ga: Call Windows VSS requester in fsfreeze command handler 2013-09-09 14:17:57 -05:00
qapi-schema.json qga: Support enum names in guest-file-seek 2016-02-25 09:48:50 -06:00
service-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
service-win32.h qga: save state directory in ga_install_service() 2013-05-30 11:37:37 -05:00
vss-win32.c qga: Clean up includes 2016-02-04 17:41:30 +00:00
vss-win32.h all: Clean up includes 2016-02-23 12:43:05 +00:00