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/553 | |
| 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/553')
| -rw-r--r-- | gitlab/issues_text/target_missing/host_missing/accel_missing/553 | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/553 b/gitlab/issues_text/target_missing/host_missing/accel_missing/553 deleted file mode 100644 index 82a64f197..000000000 --- a/gitlab/issues_text/target_missing/host_missing/accel_missing/553 +++ /dev/null @@ -1,25 +0,0 @@ -Virtio-vga with blobs on fails, when qemu compiled with enabled modules -Description of problem: -When using qemu configured with `--enabled-modules` and starting qemu with command line above, qemu crashes with following output: -``` -qemu-system-x86_64: -device virtio-vga,blob=on: cannot enable blob resources without udmabuf -``` -While qemu configured without `--enabled-modules` runs this command successfully. -Steps to reproduce: -1. Get latest qemu source code -2. Build qemu `mkdir build && cd build && ../configure && ninja` -3. Check if following command runs without errors and show sdl qemu window - ``` - sudo ./qemu-system-x86_64 \ - -object memory-backend-memfd,id=mem1,size=512M \ - -machine memory-backend=mem1 \ - -display sdl \ - -device virtio-vga,blob=on - - ``` -4. Then try to build with modules enabled `mkdir build && cd build && ../configure --enable-modules && ninja` -5. Try to do step 3 again -Additional information: -I tried to debug this bug, and found that problem is with function `virtio_gpu_have_udmabuf`: when qemu is build without modules this function is from `hw/display/virtio-gpu-udmabuf.c` (which is correct), but when qemu compiled with modules this function comes from `stubs/virtio-gpu-udmabuf.c` and when `hw-display-virtio-gpu.so` is loaded, `virtio_gpu_have_udmabuf` is not replaced, and remains function from stub (which always return 0) and command fails. - -I think I will submit patch that fix it tomorrow |