diff options
author | Stefan Weil <sw@weilnetz.de> | 2016-08-02 07:14:37 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-08-05 14:15:14 +0100 |
commit | c025f689a13d1301b277ee4a0914e90810982d24 (patch) | |
tree | 1db270701b657b0e20022adc963db1af394ed65a /xen-mapcache.c | |
parent | bd8eda537fbe6f28a94db30e8facab2bf528b204 (diff) |
wxx: Fix handling of files used for character devices
On Windows, such files were not truncated like on all other hosts.
Now we also test whether truncation is needed when running on Windows.
The append case was also incorrect because it needs a different value
for the desired access mode.
Reported-by: Benjamin David Lunt <fys@fysnet.net>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1470114877-1466-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'xen-mapcache.c')
0 files changed, 0 insertions, 0 deletions