qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: "Gonglei (Arei)" <arei.gonglei@huawei.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Bug] cirrus_vga: qemu abort at booting when configure vgamem_mb <= 2
Date: Fri, 09 May 2014 08:49:25 +0200	[thread overview]
Message-ID: <1399618165.5213.42.camel@nilsson.home.kraxel.org> (raw)
In-Reply-To: <33183CC9F5247A488A2544077AF19020815E738B@SZXEMA503-MBS.china.huawei.com>

On Fr, 2014-05-09 at 03:47 +0000, Gonglei (Arei) wrote:
> Hi, Gerd
> 
> The issue consequentially occur, I have tested various qemu versions, 
> including the current qemu.git. 

Missing sanity check.  It's not valid.  We mimic existing hardware here,
and the cirrus card emulated has 4 MB video memory.  So ideally we
should just use that and be done with it.  Problem is qemu has
historically used 8 or 16 mb vga memory for cirrus, and simply changing
it will break live migration.

So cirrus should accept 4 MB (correct value), 8 MB and 16 MB (for
backward compatibility) and reject everything else.  Patches are
welcome ;)

If you want reduce the qemu memory footprint use stdvga instead which
should handle memory sized from 1 MB to 256 MB just fine.

cheers,
  Gerd

  reply	other threads:[~2014-05-09  6:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-09  3:47 [Qemu-devel] [Bug] cirrus_vga: qemu abort at booting when configure vgamem_mb <= 2 Gonglei (Arei)
2014-05-09  6:49 ` Gerd Hoffmann [this message]
2014-05-09  6:59   ` 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=1399618165.5213.42.camel@nilsson.home.kraxel.org \
    --to=kraxel@redhat.com \
    --cc=arei.gonglei@huawei.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 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).