qga: implement file commands for Windows guest
commitfa193594fbc27fde7c9062b3bf5c232534887ec7
authorOlga Krishtal <okrishtal@parallels.com>
Fri, 6 Feb 2015 17:59:55 +0000 (6 20:59 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 16 Feb 2015 22:20:02 +0000 (16 16:20 -0600)
tree2940e06c0394db3673f880d622ca1059d8d66cba
parent85b6f6f53596fd29eee0a6d2475c6a4322eede6b
qga: implement file commands for Windows guest

The following commands are implemented:
- guest_file_open
- guest_file_close
- guest_file_write
- guest_file_read
- guest_file_seek
- guest_file_flush

Motivation is quite simple: Windows guests should be supported with the
same set of features as Linux one. Also this patch is a prerequisite for
Windows guest-exec command support.

Signed-off-by: Olga Krishtal <okrishtal@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-win32.c