Hi Shahar,

I'd like to try that.

The documentation of vgabios is not very specific about the tools needed to
compile it, but it makes a reference to a Turbo C 2.0, so i guess that's the
bcc 16bit compiler you mention in your email.

Would it work with one of the recent versions of borland's turbo C ? or I
need to find an ancient version of it?

AFAIK Turbo C is still DOS/Windos only (I haven't used it since many many
years ago). An then, I need to have an environment with both bcc and gcc..
I'll need cygwin then, which means a recent version of windows. And an
ancient DOS compiler. Nasty indeed.

Francesc




On Nov 25, 2007 4:05 PM, Shahar Frank <[EMAIL PROTECTED]> wrote:

>  Hi,
>
>
>
> If you have time you can compile a vgabios with vbe extension that support
> your resolution. Even though this resolution is not defined in the spec, the
> XP driver doesn't care. I did it for 1280x800 and it seems that it should
> work also for your case. The really nasty thing here is that you have to
> download the vgabios-0.6a package and compile it using a 16bit compiler
> (bcc).
>
>
>
> 1. First see if you can produce correct BIOS file:
>
> Compile the source and copy the "VGABIOS-lgpl-latest.bin" to the qemu
> pcbios directory (probably /usr/local/share/qemu) as "vgabios.bin" and check
> that the KVM VM works (std-vga).
>
>
>
> 2. Then add a new (fake) mode to the vbetables.h file for your target
> resolution. I just copy and pasted an entry with similar resolution and
> changed the Xresolution,YResolution and gave it a unique mode ID (first
> value, I used 0x185, but any mode higher than the values used should be OK).
>
>
>
> 3. make and copy the bios again.
>
>
>
> 4. Check and report back to the list ;)
>
>
>
> BTW, this method is hacky. The "correct" way is not to modify 
> vbetables.hbecause it is a generated file, but to change it source. I didn't 
> have the
> time for it. If you do it, I will be glad if you can post it.
>
>
>
> Anyhow, if you tried it, tell me what happened.
>
>
>
> Shahar
>
>
>   ------------------------------
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Francesc Romà i
> Frigolé
> *Sent:* Wednesday, November 21, 2007 9:31 PM
> *To:* Avi Kivity
> *Cc:* kvm-devel@lists.sourceforge.net
> *Subject:* Re: [kvm-devel] widescreen resolutions: 1680x1050
>
>
>
>
>
> On Nov 21, 2007 11:41 AM, Avi Kivity <[EMAIL PROTECTED]> wrote:
>
> Francesc Romà i Frigolé wrote:
> > Hello,
> >
> > Sorry if the post is off-topic, but the qemu users forum has been down
> > for several days.
> >
> > Is it possible to use a wide screen resolution of 1680x1050 with kvm?
> > the guest OS is windows XP. I'm using the qemu parameter -std-vga, and
> > I can use resolutions up to 1600x1200, but the 1680x1050 is missing.
> >
> > Please respond to me directly as I'm not subscribed to the mailing list.
>
>
> The vmware VGA display supports multiple resolutions, and is supported
> in qemu, but I haven't tested it under kvm.
>
>
> Thanks avi.
>
> I couldn't manage to get it working, but I got a bit further disabling kvm
> support in qemu.
>
> These are the steps I followed, just in case somebody else wants to try:
>
> kvm53 makes windows XP crash with the -vmwarevga parameter. I get a black
> screen followed by a blue screen with an error. Something about an infinite
> loop in the "framebuf" driver.
>
> However, windows runs normally when using the kvn53 version of qemu
> without kvm support and the -vmwarevga parameter.
>
> Windows XP didn't recognize the vmware VGA driver and it's using it as a
> standard vga device (which doesn't support wide screen resolutions).
>
> I then tried to install the windows drivers for the vmware SVGA II device.
>
> VMware provides this driver free of charge as discussed here: 
> http://ubuntuforums.org/archive/index.php/t-84275.html
>
>
> So, I downloaded the windows.iso file from here:
> http://www.vmware.com/support/esx2/doc/esx2-16515update.html
>
> The setup program won't run since it doesn't detect vmware, but the driver
> can be installed like this:
>
> From the windows xp guest OS, go to the control panel, system, hardware,
> device manager, select the vga driver and click the install new driver
> button.
>
> Then windows finds the drivers for the VMWare SVGA II device, and hungs,
> with the generic message: "a problem has been detected and windows has been
> shut down to prevent damage to your computer"
>
>
> regards,
> Francesc
>
>
>
>
>
>
>
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to