Re: [Qemu-devel] [PATCH for-2.7] wxx: Truncate files used for character devices

2016-08-01 Thread Stefan Weil
Am 01.08.2016 um 10:31 schrieb Paolo Bonzini: > On 26/07/2016 19:11, Stefan Weil wrote: >> On Windows, such files were not truncated like on all other hosts. >> Now we also test whether truncation is needed when running on Windows. >> >> Reported-by: Benjamin David Lunt >> Signed-off-by: Stefan We

Re: [Qemu-devel] [PATCH for-2.7] wxx: Truncate files used for character devices

2016-08-01 Thread Paolo Bonzini
On 26/07/2016 19:11, Stefan Weil wrote: > On Windows, such files were not truncated like on all other hosts. > Now we also test whether truncation is needed when running on Windows. > > Reported-by: Benjamin David Lunt > Signed-off-by: Stefan Weil > --- > qemu-char.c | 11 ++- > 1 fil

[Qemu-devel] [PATCH for-2.7] wxx: Truncate files used for character devices

2016-07-26 Thread Stefan Weil
On Windows, such files were not truncated like on all other hosts. Now we also test whether truncation is needed when running on Windows. Reported-by: Benjamin David Lunt Signed-off-by: Stefan Weil --- qemu-char.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/q