summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorViktor Prutyanov <viktor.prutyanov@phystech.edu>2021-08-25 20:36:25 +0300
committerHanna Reitz <hreitz@redhat.com>2021-09-01 14:38:08 +0200
commitebd979c74e2b8a7275090475df36dde4ab858320 (patch)
treef7224c4629c076c17f3b323edf036ddfbcc2e7f9 /hw
parent28031d5c7427aec6d6138920b92c59b999a349ed (diff)
downloadqemu-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 'hw')
0 files changed, 0 insertions, 0 deletions