[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Virtualbox svga card in KVM
From: |
Gerd Hoffmann |
Subject: |
Re: [Qemu-devel] Virtualbox svga card in KVM |
Date: |
Mon, 22 Apr 2013 10:00:00 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
On 04/18/13 18:58, Sriram Murthy wrote:
> Some updates on this - I changed the PCI Device ID and Vendor ID in
> hw/vga.c, and was able to get the VirtualBox SVGA card driver
> installed in WinXP running on KVM. However, when I try to change the
> resolution, KVM crashes with a SIGFPE in vbe_ioport_write_data(), and
> this is due to line_offset being zero in this statement -
>
> h = s->vram_size / line_offset Also, I am seeing that the line_offset
> is computed by reading the vbe_regs. So, is it that the driver in
> the guest is programming the vbe regs?.
Seems so, it crashes in a code path which actually writes to one of the
vbe regs.
> What should be the line_offset value, if the desired resolution is
> 800x600? Regards, Sriram
Depends on the desired depth. The guest didn't set the depth register
though, thats why qemu is crashing ...
Maybe virtualbox uses another register layout.
cheers,
Gerd
- Re: [Qemu-devel] Virtualbox svga card in KVM, (continued)
- Re: [Qemu-devel] Virtualbox svga card in KVM, Sriram Murthy, 2013/04/05
- Re: [Qemu-devel] Virtualbox svga card in KVM, Peter Maydell, 2013/04/08
- Re: [Qemu-devel] Virtualbox svga card in KVM, Sriram Murthy, 2013/04/08
- Re: [Qemu-devel] Virtualbox svga card in KVM, Andreas Färber, 2013/04/09
- Re: [Qemu-devel] Virtualbox svga card in KVM, Sriram Murthy, 2013/04/09
- Re: [Qemu-devel] Virtualbox svga card in KVM, Stefan Hajnoczi, 2013/04/11
- Re: [Qemu-devel] Virtualbox svga card in KVM, Gerd Hoffmann, 2013/04/15
- Re: [Qemu-devel] Virtualbox svga card in KVM, Sriram Murthy, 2013/04/18
- Re: [Qemu-devel] Virtualbox svga card in KVM,
Gerd Hoffmann <=
- Re: [Qemu-devel] Virtualbox svga card in KVM, Veruca Salt, 2013/04/24
- Re: [Qemu-devel] Virtualbox svga card in KVM, Yan Vugenfirer, 2013/04/09
- Re: [Qemu-devel] Virtualbox svga card in KVM, Sriram Murthy, 2013/04/09