summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorViktor Prutyanov2021-08-25 19:36:25 +0200
committerHanna Reitz2021-09-01 14:38:08 +0200
commitebd979c74e2b8a7275090475df36dde4ab858320 (patch)
treef7224c4629c076c17f3b323edf036ddfbcc2e7f9 /scripts
parentblock/export/fuse.c: fix fuse-lseek on uclibc or musl (diff)
downloadqemu-ebd979c74e2b8a7275090475df36dde4ab858320.tar.gz
qemu-ebd979c74e2b8a7275090475df36dde4ab858320.tar.xz
qemu-ebd979c74e2b8a7275090475df36dde4ab858320.zip
block/file-win32: add reopen handlers
Make 'qemu-img commit' work on Windows. Command 'commit' requires reopening backing file in RW mode. So, add reopen prepare/commit/abort handlers and change dwShareMode for CreateFile call in order to allow further read/write reopening. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/418 Suggested-by: Hanna Reitz <hreitz@redhat.com> Signed-off-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu> Tested-by: Helge Konetzka <hk@zapateado.de> Message-Id: <20210825173625.19415-1-viktor.prutyanov@phystech.edu> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions