From: Gerd Hoffmann <kraxel@redhat.com>
To: Sriram Murthy <sriramsm@yahoo.com>
Cc: qemu list <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Virtualbox svga card in KVM
Date: Mon, 22 Apr 2013 10:00:00 +0200 [thread overview]
Message-ID: <5174EE00.1080109@redhat.com> (raw)
In-Reply-To: <1366304288.64685.YahooMailNeo@web125303.mail.ne1.yahoo.com>
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
next prev parent reply other threads:[~2013-04-22 8:24 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1363816855.57243.YahooMailNeo@web125304.mail.ne1.yahoo.com>
2013-03-21 14:53 ` [Qemu-devel] Virtualbox svga card in KVM Alon Levy
2013-04-02 1:13 ` Sriram Murthy
2013-04-03 2:48 ` Sriram Murthy
2013-04-05 7:06 ` Stefan Hajnoczi
2013-04-05 23:52 ` Sriram Murthy
2013-04-08 10:46 ` Stefan Hajnoczi
2013-04-08 15:08 ` Sriram Murthy
2013-04-08 15:11 ` Peter Maydell
2013-04-08 16:05 ` Sriram Murthy
2013-04-09 17:04 ` Andreas Färber
2013-04-09 18:25 ` Sriram Murthy
2013-04-11 9:06 ` Stefan Hajnoczi
2013-04-15 12:26 ` Gerd Hoffmann
2013-04-18 16:58 ` Sriram Murthy
2013-04-22 8:00 ` Gerd Hoffmann [this message]
2013-04-24 14:36 ` Veruca Salt
2013-04-09 16:04 ` Yan Vugenfirer
2013-04-09 16:19 ` Sriram Murthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5174EE00.1080109@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=sriramsm@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).