[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] qga: flush explicitly when needed
From: |
marcandre . lureau |
Subject: |
[Qemu-devel] [PATCH v2 0/2] qga: flush explicitly when needed |
Date: |
Tue, 24 Nov 2015 19:04:39 +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.
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 | 22 ++++++++++++
tests/test-qga.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 115 insertions(+), 2 deletions(-)
--
2.5.0