qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Hanweidong <hanweidong@huawei.com>,
	Luonengjun <luonengjun@huawei.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
	"Gonglei (Arei)" <arei.gonglei@huawei.com>,
	Anthony Liguori <anthony@codemonkey.ws>,
	"Huangweidong (Hardware)" <huangweidong@huawei.com>
Subject: Re: [Qemu-devel] Cirrus VGA slow screen update, show blank screen last 13s or so for windows XP guest
Date: Fri, 26 Jul 2013 12:19:16 +0200	[thread overview]
Message-ID: <51F24D24.4020201@redhat.com> (raw)
In-Reply-To: <51F24949.4070109@suse.de>

On 07/26/13 12:02, Andreas Färber wrote:
> Am 26.07.2013 08:41, schrieb Gonglei (Arei):
>>> -----Original Message-----
>>> From: Anthony Liguori [mailto:anthony@codemonkey.ws]
>>> Sent: Friday, July 26, 2013 11:21 AM
>>> To: Gonglei (Arei)
>>> Cc: qemu-devel@nongnu.org; xen-devel@lists.xen.org; Hanweidong;
>>> Luonengjun; Huangweidong (Hardware)
>>> Subject: Re: [Qemu-devel] Cirrus VGA slow screen update, show blank screen
>>> last 13s or so for windows XP guest
>>>
>>>  On Thu, Jul 25, 2013 at 10:08 PM, Gonglei (Arei)
>>> <arei.gonglei@huawei.com> wrote:
>>>> 3. Why does the traditional qemu has no blank screen problem on cirrus VGA
>>> emulation ?
>>>
>>> This is one of the few cases where TCG is actually faster than KVM or
>>> Xen.  In TCG, an MMIO exit is converted to a function call.  OTOH,
>>> even with KVM, an MMIO exit is at least a couples thousand cycles.
>>> It's worse with Xen because dom0 has to be scheduled.
>>
>> Perhaps I did not express clearly what I mean at #3.
>> I don't understand why the qemu-dm(qemu-0.10.2) works well 
>> but the upstream qemu(begin with qemu-0.14) is not for the 
>> same windows XP guest image in cirrus vga emulation. Does 
>> the cirrus vga emulation have some differences between 
>> qemu-dm and unstream qemu ?
> 
> I don't know about qemu-dm, but QEMU switched from a home-grown pixel
> handling to pixman library sometime around 1.4. CC'ing Gerd.

0.14 != 1.4 ;)

Also pixman isn't used everywhere, there is still home-grown pixel
handling code in qemu.  I often replace it when I touch it for some
reason, but we are far away from a full-pixman qemu.  The cirrus blit
ops havn't been touched btw, it's still the old code.

Maybe the xen guys did some optimizations in qemu-dm which where not
merged upstream.  Try asking @ xen-devel.

Beside that the standard vga usually is the better choice anyway as it
supports more video memory and higher resolutions than cirrus.

cheers,
  Gerd

  reply	other threads:[~2013-07-26 10:19 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25 13:13 [Qemu-devel] Cirrus VGA slow screen update, show blank screen last 13s or so for windows XP guest Gonglei (Arei)
2013-07-25 13:54 ` [Qemu-devel] [Xen-devel] " Fabio Fantoni
2013-07-25 14:21   ` Gonglei (Arei)
2013-07-25 14:50     ` Fabio Fantoni
2013-07-26  1:57       ` Gonglei (Arei)
2013-07-26  8:10         ` Fabio Fantoni
2013-07-26  2:09 ` [Qemu-devel] " Anthony Liguori
2013-07-26  3:08   ` Gonglei (Arei)
2013-07-26  3:20     ` Anthony Liguori
2013-07-26  6:41       ` Gonglei (Arei)
2013-07-26 10:02         ` Andreas Färber
2013-07-26 10:19           ` Gerd Hoffmann [this message]
2013-07-26 10:27             ` Andreas Färber
2013-07-27 11:06               ` Gonglei (Arei)
2013-07-27 11:51             ` [Qemu-devel] [Xen-devel] " Pasi Kärkkäinen
2013-07-29  8:48               ` Gonglei (Arei)
2013-07-29 10:58                 ` Pasi Kärkkäinen
2013-07-30  2:01                   ` Gonglei (Arei)
2013-08-16  9:09                   ` Gonglei (Arei)
2013-08-17  9:04                   ` Gonglei (Arei)
2013-08-20 19:45                     ` Konrad Rzeszutek Wilk
2013-08-21  0:02                       ` Ben Guthro
2013-08-27 15:08                         ` Gonglei (Arei)
2013-07-26 12:29         ` Fabio Fantoni
2013-07-26  8:18       ` [Qemu-devel] " Gonglei (Arei)

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=51F24D24.4020201@redhat.com \
    --to=kraxel@redhat.com \
    --cc=afaerber@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=arei.gonglei@huawei.com \
    --cc=hanweidong@huawei.com \
    --cc=huangweidong@huawei.com \
    --cc=luonengjun@huawei.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xen-devel@lists.xen.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 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).