[Spice-devel] spice broken with upstream qemu / qemu-kvm
alevy at redhat.com
Mon Nov 7 02:57:07 PST 2011
On Thu, Nov 03, 2011 at 05:54:43PM +0100, Gerd Hoffmann wrote:
> >> 2) I could not see the boot failing with my F-14 image and qemu-1.0rc0
> >> since it does not show vga graphics over spice.
> > Looks like text mode broke while I wasn't looking, investigating ...
> vga ports are not active. vbe works though, so as soon as something
> switches into gfx mode (be it qxl native or vesa) everything is fine.
> quick&dirty fix attached. touching-vgaport-switches-into-vgamode
> doesn't work until I've found a sane way to fix this for real.
> diff --git a/hw/qxl.c b/hw/qxl.c
> index 84ffd45..9e86237 100644
> --- a/hw/qxl.c
> +++ b/hw/qxl.c
> @@ -1602,7 +1602,7 @@ static int qxl_init_primary(PCIDevice *dev)
> ram_size = 32 * 1024 * 1024;
> vga_common_init(vga, ram_size);
> - vga_init(vga, pci_address_space(dev), pci_address_space_io(dev), false);
> + vga_init(vga, pci_address_space(dev), pci_address_space_io(dev), true);
> register_ioport_write(0x3c0, 16, 1, qxl_vga_ioport_write, vga);
> register_ioport_write(0x3b4, 2, 1, qxl_vga_ioport_write, vga);
> register_ioport_write(0x3d4, 2, 1, qxl_vga_ioport_write, vga);
I'm getting a (first!)
qemu: hardware error: register_ioport_write: invalid opaque for address
[snip of register dump]
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
More information about the Spice-devel