|
From: | Joel Schopp |
Subject: | Re: [Qemu-devel] [PATCH 1/3] two new file wrappers |
Date: | Tue, 26 Feb 2013 23:50:32 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Not sure how you sent this but it's not threaded properly and the diffs aren't git diffs. Please use git-send-email.
I used quilt mail. I apologize for the improper threading. I'll switch over to git-send-email in the future.
+int qemu_write_bytes(QEMUFile *f, const uint8_t *buf, int size) +{ + if (qemu_file_get_error(f)) { + return -1; + } + + qemu_put_buffer(f, buf, size); + + if (qemu_file_get_error(f)) { + return -1; + } + + return size; +}I think we've moved away from using qemu-file for anything other than migration.
Any suggestions for what should be used instead?
[Prev in Thread] | Current Thread | [Next in Thread] |