Michael Roth mdr...@linux.vnet.ibm.com writes:
+
+int64_t qmp_guest_file_open(const char *filename, const char *mode, Error
**err)
+{
+FILE *fh;
+int fd, ret;
+int64_t id = -1;
+
+if (!logging_enabled()) {
+error_set(err, QERR_QGA_LOGGING_FAILED);
+goto
On 06/04/2011 03:08 PM, Andi Kleen wrote:
Michael Rothmdr...@linux.vnet.ibm.com writes:
+
+int64_t qmp_guest_file_open(const char *filename, const char *mode, Error
**err)
+{
+FILE *fh;
+int fd, ret;
+int64_t id = -1;
+
+if (!logging_enabled()) {
+error_set(err,
This adds the initial set of QMP/QAPI commands provided by the guest
agent:
guest-sync
guest-ping
guest-info
guest-file-open
guest-file-read
guest-file-write
guest-file-seek
guest-file-close
guest-fsfreeze-freeze
guest-fsfreeze-thaw
guest-fsfreeze-status
The input/output specification for these