[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 0/2] qga: flush explicitly when needed
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH v3 0/2] qga: flush explicitly when needed |
Date: |
Wed, 25 Nov 2015 13:59:10 +0100 |
From: Marc-André Lureau <address@hidden>
Without this change, a write() followed by a read() may lose the
previously written content, as shown in the following test.
v2->v3:
- use a RwState tristate enum
- reset the state on flush & seek
v1->v2:
- replace guchar with unsigned char
- fix implicitly/explictly
- comment space fix
Marc-André Lureau (2):
qga: flush explicitly when needed
tests: add file-write-read test
qga/commands-posix.c | 37 ++++++++++++++++++++
tests/test-qga.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 130 insertions(+), 2 deletions(-)
--
2.5.0
- [Qemu-devel] [PATCH v3 0/2] qga: flush explicitly when needed,
marcandre . lureau <=
- [Qemu-devel] [PATCH v3 1/2] qga: flush explicitly when needed, marcandre . lureau, 2015/11/25
- [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, marcandre . lureau, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Eric Blake, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Michael Roth, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Eric Blake, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Michael Roth, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Eric Blake, 2015/11/25
- Re: [Qemu-devel] [PATCH v3 2/2] tests: add file-write-read test, Michael Roth, 2015/11/25