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?. What should be the line_offset value, if the desired resolution is 800x600? Regards, Sriram ________________________________ From: Gerd Hoffmann <[email protected]> To: Peter Maydell <[email protected]> Cc: Sriram Murthy <[email protected]>; Stefan Hajnoczi <[email protected]>; qemu list <[email protected]>; "[email protected]" <[email protected]> Sent: Monday, April 15, 2013 5:26 AM Subject: Re: [Qemu-devel] Virtualbox svga card in KVM On 04/08/13 17:11, Peter Maydell wrote: > On 6 April 2013 00:52, Sriram Murthy <[email protected]> wrote: >> (actually, the virtualbox SVGA card is based off of the KVM VGA card) > > Is it possible to implement it as an extension to the VGA > card device, or has it diverged incompatibly such that it > has to be its own separate device model? Not needed. One just has to go write a windows driver. The virtual hardware can handle any resolution just fine. cheers, Gerd
