qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Virtualbox svga card in KVM


From: Sriram Murthy
Subject: Re: [Qemu-devel] Virtualbox svga card in KVM
Date: Thu, 18 Apr 2013 09:58:08 -0700 (PDT)

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 <address@hidden>
To: Peter Maydell <address@hidden>
Cc: Sriram Murthy <address@hidden>; Stefan Hajnoczi <address@hidden>; qemu list <address@hidden>; "address@hidden" <address@hidden>
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 <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]