qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Kernel mode VGAs?
@ 2012-02-14  7:12 Gerhard Wiesinger
  2012-02-14  8:45 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Wiesinger @ 2012-02-14  7:12 UTC (permalink / raw)
  To: qemu-devel, kvm

Hello,

Current QEMU-KVM VGA implementation have the following problem with legacy 
OS (e.g. DOS with INT10h calls): Performance is low on accessing A000:0
page and doing bank switching at the 64k page.

Would a kernel mode VGA solve these problems?
How complicated is it?
Is it possible to have only some parts in kernel mode?
Any further ideas or suggestions?

Thnx.

Ciao,
Gerhard

--
http://www.wiesinger.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Kernel mode VGAs?
  2012-02-14  7:12 [Qemu-devel] Kernel mode VGAs? Gerhard Wiesinger
@ 2012-02-14  8:45 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2012-02-14  8:45 UTC (permalink / raw)
  To: Gerhard Wiesinger; +Cc: qemu-devel, kvm

[-- Attachment #1: Type: text/plain, Size: 1056 bytes --]

On 2012-02-14 08:12, Gerhard Wiesinger wrote:
> Hello,
> 
> Current QEMU-KVM VGA implementation have the following problem with
> legacy OS (e.g. DOS with INT10h calls): Performance is low on accessing
> A000:0
> page and doing bank switching at the 64k page.

Do we already understand the mode and access patterns here? Which VGA
adapter? Cirrus, standard, or any? What is the concrete test case (one
that won't require me digging for MS Dose floppy disks in my basement)?

> 
> Would a kernel mode VGA solve these problems?
> How complicated is it?
> Is it possible to have only some parts in kernel mode?
> Any further ideas or suggestions?

Provided we take heavy exits so far, in-kernel acceleration may reduce
the exit overhead by factor, hmm, maybe 3-4. Better is to avoid exists
completely, i.e. switch the region to RAM mode. But that depends on the
graphic mode, and I'm afraid we have already covered all which can be
mapped like this.

In any case, before discussing solutions, we need to analyze the problem.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-02-14  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-14  7:12 [Qemu-devel] Kernel mode VGAs? Gerhard Wiesinger
2012-02-14  8:45 ` Jan Kiszka

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).