qemu/kvm SDL over ssh -X broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
qemu/kvm by default uses SDL to render the output of its emulated VGA graphics.
This is broken over ssh -X since quite a while.
The only workaround I know, is to use qemu -vnc :0
and connect using vncviewer
How To Reproduce:
1. zypper in qemu
2. ssh -X localhost qemu -cdrom ANYISOFILE
Actual Results:
qemu hangs in an endless loop on the BIOS display screen
Expected Results:
should boot up the iso as 0.10 versions did
Reproducible: Always
this is what broke it:
$ git bisect bad
c18a2c360e3100b
commit c18a2c360e3100b
Author: Stefano Stabellini <email address hidden>
Date: Wed Jun 24 11:58:25 2009 +0100
sdl zooming
Hi all,
this patch implements zooming capabilities for the sdl interface.
A new sdl_zoom_blit function is added that is able to scale and blit a
portion of a surface into another.
This way we can enable SDL_RESIZABLE and have a real_screen surface with
a different size than the guest surface and let sdl_zoom_blit take care
of the problem.
Signed-off-by: Stefano Stabellini <email address hidden>
Signed-off-by: Anthony Liguori <email address hidden>
:100644 100644 a06c9bfc22cc6de
:100644 100644 417217582363a87
:100644 100644 178b5532b8d9dd2
:000000 100644 000000000000000
:000000 100644 000000000000000
:000000 100644 000000000000000
This problem occurs on both Debian and openSUSE.
One possible way to get X11-forwarding back on qemu master is to disable zoom by this patch.
But I do not know why the do_sdl_resize function should be problematic.
There is probably a better solution.