All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Avi Kivity <avi@redhat.com>
Cc: Gerhard Wiesinger <lists@wiesinger.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] Re: QEMU-KVM and video performance
Date: Wed, 21 Apr 2010 22:19:35 +0100	[thread overview]
Message-ID: <20100421211935.GB27575@shareable.org> (raw)
In-Reply-To: <4BCF655F.1080602@redhat.com>

Avi Kivity wrote:
> On 04/21/2010 09:39 PM, Jamie Lokier wrote:
> >Avi Kivity wrote:
> >   
> >>Writes to vga in 16-color mode don't change set a memory location to a
> >>value, instead they change multiple memory locations.
> >>     
> >While code is just writing to the VGA memory, not reading(*) and not
> >touching the VGA I/O register that control the write latches, is it
> >possible in principle to swizzle the format around in memory to make
> >regular writes work?
> >   
> 
> Not in software.  We can map pages, not cross address lines.

Hence "swizzle".  You rearrange the data inside the page for the
crossed address lines, and undo the swizzle later on demand.  That
doesn't work for other VGA magic though.

> Guests that use 16 color vga are usually of little interest.

Fair enough.  We can move on :-)

It's been said that the super-slow VGA writes triggering this thread
are in 256-colour mode, so there's a different problem.  That should
be fast, shouldn't it?

I vaguely recall extremely slow OS installs I've seen in KVM, which
were fast in QEMU (and fast in KVM after installing), were using text
mode.  Possibly it was Windows 2000, or Windows Server 2003.  Text
mode should be fast too, shouldn't it?  I suppose it's possible that
it just looked like text mode and was really 16-colour mode.

-- Jamie

  reply	other threads:[~2010-04-21 21:19 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 19:14 QEMU-KVM and video performance Gerhard Wiesinger
2010-04-19 19:14 ` [Qemu-devel] " Gerhard Wiesinger
2010-04-21  8:59 ` Avi Kivity
2010-04-21  8:59   ` [Qemu-devel] " Avi Kivity
2010-04-21 10:08   ` Jamie Lokier
2010-04-21 10:49     ` Avi Kivity
2010-04-21 18:14       ` Gerhard Wiesinger
2010-04-21 18:14         ` [Qemu-devel] " Gerhard Wiesinger
2010-04-21 20:49         ` Avi Kivity
2010-04-21 20:49           ` Avi Kivity
2010-04-22  5:37           ` Gerhard Wiesinger
2010-04-22  5:37             ` Gerhard Wiesinger
2010-04-22  6:57             ` Avi Kivity
2010-04-22  6:57               ` Avi Kivity
2010-04-21 18:39       ` Jamie Lokier
2010-04-21 20:51         ` Avi Kivity
2010-04-21 21:19           ` Jamie Lokier [this message]
2010-04-22  5:44           ` Gerhard Wiesinger
2010-04-22  5:44             ` Gerhard Wiesinger
2010-05-12 10:34             ` Jamie Lokier
2010-05-12 10:34               ` Jamie Lokier
2010-04-21 18:09   ` Gerhard Wiesinger
2010-04-21 18:33     ` Jamie Lokier
2010-04-21 18:33       ` Jamie Lokier
2010-04-21 18:50       ` Gerhard Wiesinger
2010-04-21 18:50         ` Gerhard Wiesinger
2010-04-21 18:53         ` Jamie Lokier
2010-04-21 18:53           ` Jamie Lokier
2010-04-21 19:08           ` Gerhard Wiesinger
2010-04-21 19:08             ` Gerhard Wiesinger
2010-04-21 21:30             ` Jamie Lokier
2010-04-21 21:30               ` Jamie Lokier
2010-04-22  6:12               ` Gerhard Wiesinger
2010-04-22  6:12                 ` Gerhard Wiesinger
2010-05-12 10:23                 ` Jamie Lokier
2010-05-12 10:23                   ` Jamie Lokier
2010-04-21 20:56         ` Avi Kivity
2010-04-21 20:56           ` Avi Kivity
2010-04-22  6:04           ` Gerhard Wiesinger
2010-04-22  6:04             ` Gerhard Wiesinger
2010-04-22  7:03             ` Avi Kivity
2010-04-22  7:03               ` Avi Kivity
2010-05-09 19:35               ` Gerhard Wiesinger
2010-05-09 19:35                 ` Gerhard Wiesinger
2010-05-10  7:32                 ` Avi Kivity
2010-05-10  7:32                   ` Avi Kivity
2010-05-12  6:14                   ` Gerhard Wiesinger
2010-05-12  6:14                     ` [Qemu-devel] " Gerhard Wiesinger
2010-05-12  6:39                     ` Avi Kivity
2010-05-12  6:39                       ` Avi Kivity
2011-02-18  7:32                       ` [Qemu-devel] Re: QEMU-KVM and video performance - Update Gerhard Wiesinger
2011-02-18  7:32                         ` Gerhard Wiesinger

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=20100421211935.GB27575@shareable.org \
    --to=jamie@shareable.org \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=lists@wiesinger.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.