diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-01 21:35:14 +0200 |
| commit | 3e4c5a6261770bced301b5e74233e7866166ea5b (patch) | |
| tree | 9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/1236 | |
| parent | e5634e2806195bee44407853c4bf8776f7abfa4f (diff) | |
| download | qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip | |
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/1236')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/1236 | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/1236 b/gitlab/issues_text/target_missing/host_missing/accel_missing/1236 deleted file mode 100644 index 4247eab73..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/1236 +++ /dev/null @@ -1,46 +0,0 @@ -blockdev fixed vhdx trying to reserve space, also misleading error, Could not open file: Invalid argument -Description of problem: -The qemu-storage-daemon/other qemu commands will not start and will choke on requiring vhdx driver for the blockdev layer. -Opening a fixed-virtual-disk like fixed-vhdx should not reserve extra space, and should only overwrite as all blocks are already allocated. -Steps to reproduce: -1. Ensure that a partition size is such that after deciding a fixed-vhdx size, the remainder space after creation of fixed-vhdx is less than the fixed-vhdx. -2. Create a fixed-vhdx file -3. Try to start an nbd server with it -the qemu-storage-daemon will not start -Additional information: -I want to mention that I am testing qemu-storage-daemon under windows/hyperv - -So far, I want to report that it has **worked** for rawimg and qcow2-fixed. -See comment of 20220926 https://github.com/cloudbase/wnbd/issues/63#issuecomment-1257148849 - -The driver parameter ```vhdx``` to the blockdev argument seems to struggle with it. - -I wanted to check if the vhdx blockdev driver has the same VHDX-related-bugs as qemu-nbd -- #727 VHDX is corrupted on expansion. -- #806 Fixed VHDX inflates beyond its fixed size when data is copied onto it and also corrupts - -Even the the blockdev reference entries seem to have VHDX all over the place -- pg 318 https://readthedocs.org/projects/qemu/downloads/pdf/latest/ -- https://www.qemu.org/docs/master/system/qemu-block-drivers.html -- except conspicuously here !! https://www.qemu.org/docs/master/interop/qemu-storage-daemon-qmp-ref.html?highlight=blockdev#qapidoc-265 - - -``` -C:\Windows\System32>qemu-storage-daemon --version -qemu-storage-daemon version 7.1.0 (v7.1.0-11925-g4ec481870e-dirty) - -C:\Windows\System32>qemu-storage-daemon --blockdev driver=file,node-name=file,filename=H:\gkpics01.vhdx --blockdev driver=vhdx,node-name=vhdx,file=file --nbd-server addr.type=inet,addr.host=127.0.0.1,addr.port=10809 --export type=nbd,id=export,node-name=vhdx,name=gkpics01,writable=on -qemu-storage-daemon: --blockdev driver=vhdx,node-name=vhdx,file=file: Could not open 'H:\gkpics01.vhdx': Invalid argument - -C:\Windows\System32>qemu-storage-daemon --blockdev driver=file,node-name=file,filename=H:\gkpics01.vhdx --blockdev driver=vhdx,node-name=vhdx,file=file,subformat=fixed --nbd-server addr.type=inet,addr.host=127.0.0.1,addr.port=10809 --export type=nbd,id=export,node-name=vhdx,name=gkpics01,writable=on -qemu-storage-daemon: --blockdev driver=vhdx,node-name=vhdx,file=file,subformat=fixed: Parameter 'subformat' is unexpected - -C:\Windows\System32>dir H:\gkpics01.vhdx - Volume in drive H is CPERF0 - Volume Serial Number is F196-DB9E - Directory of H:\ -09/29/2022 08:55 PM 99,727,966,208 gkpics01.vhdx - 1 File(s) 99,727,966,208 bytes - 0 Dir(s) 4,312,399,872 bytes free -``` -## |