diff options
author | Viktor Prutyanov <viktor.prutyanov@phystech.edu> | 2021-08-25 20:36:25 +0300 |
---|---|---|
committer | Hanna Reitz <hreitz@redhat.com> | 2021-09-01 14:38:08 +0200 |
commit | ebd979c74e2b8a7275090475df36dde4ab858320 (patch) | |
tree | f7224c4629c076c17f3b323edf036ddfbcc2e7f9 /docs/memory-hotplug.txt | |
parent | 28031d5c7427aec6d6138920b92c59b999a349ed (diff) |
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 'docs/memory-hotplug.txt')
0 files changed, 0 insertions, 0 deletions