From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1dJG-0004oX-23 for qemu-devel@nongnu.org; Wed, 25 Nov 2015 11:52:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1dJC-0007oR-Kp for qemu-devel@nongnu.org; Wed, 25 Nov 2015 11:52:45 -0500 Received: from mx6-phx2.redhat.com ([209.132.183.39]:52813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1dJC-0007oI-Di for qemu-devel@nongnu.org; Wed, 25 Nov 2015 11:52:42 -0500 Date: Wed, 25 Nov 2015 11:52:39 -0500 (EST) From: =?utf-8?Q?Marc-Andr=C3=A9?= Lureau Message-ID: <482666115.17349471.1448470359050.JavaMail.zimbra@redhat.com> In-Reply-To: <20151125164639.6284.19161@loki> References: <1448456352-14143-1-git-send-email-marcandre.lureau@redhat.com> <20151125164639.6284.19161@loki> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3 0/2] qga: flush explicitly when needed List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: marcandre lureau , qemu-devel@nongnu.org Hi ----- Original Message ----- > Quoting marcandre.lureau@redhat.com (2015-11-25 06:59:10) > > From: Marc-Andr=C3=A9 Lureau > >=20 > > Without this change, a write() followed by a read() may lose the > > previously written content, as shown in the following test. > >=20 > > v2->v3: > > - use a RwState tristate enum > > - reset the state on flush & seek > >=20 > > v1->v2: > > - replace guchar with unsigned char > > - fix implicitly/explictly > > - comment space fix > >=20 > > Marc-Andr=C3=A9 Lureau (2): > > qga: flush explicitly when needed > > tests: add file-write-read test >=20 > Thanks, applied with fix-ups suggested by Lazlo: >=20 > https://github.com/mdroth/qemu/commits/qga thanks Michael!