All of lore.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/4] vga: improve VGA logic
Date: Tue, 24 Jan 2012 19:29:37 +0100	[thread overview]
Message-ID: <m3bopt2bu6.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <CAAu8pHsgrq8KOkm+GCt8+EJuAWLsaHRzjYMw2Hmu1oPx8R+nQQ@mail.gmail.com> (Blue Swirl's message of "Tue, 24 Jan 2012 17:29:33 +0000")

Blue Swirl <blauwirbel@gmail.com> writes:

> On Tue, Jan 24, 2012 at 15:57, Markus Armbruster <armbru@redhat.com> wrote:
>> Current master dies for me:
>>
>> $ upstream-qemu -nodefaults -S -m 384 -vnc :0 -device cirrus-vga
>> RAMBlock "vga.vram" already registered, abort!
>> Aborted (core dumped)
>>
>> git-bisect blames this one:
>>
>> Blue Swirl <blauwirbel@gmail.com> writes:
>>
>>> Improve VGA selection logic, push check for device availabilty to vl.c.
>>> Create the devices at board level unconditionally.
>>>
>>> Remove now unused pci_try_create*() functions.
>>>
>>> Make PCI VGA devices optional.
>>>
>>> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
>
> I think this would fix it:
>
> commit 07e11c4222c93e4b2e615ad1dbf17f325f354c02
> Author: Blue Swirl <blauwirbel@gmail.com>
> Date:   Tue Jan 24 17:27:35 2012 +0000
>
>     vga: fix -nodefaults -device VGA
>
>     Flag -nodefaults should also imply no VGA. This was broken in
>     a369da5f31ddbdeb32a7f76622e480d3995fbb00.
>
>     Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
>
> diff --git a/vl.c b/vl.c
> index 57378b6..d88a18c 100644
> --- a/vl.c
> +++ b/vl.c
> @@ -3006,6 +3006,7 @@ int main(int argc, char **argv, char **envp)
>                  default_floppy = 0;
>                  default_cdrom = 0;
>                  default_sdcard = 0;
> +                vga_model = "none";
>                  break;
>              case QEMU_OPTION_xen_domid:
>                  if (!(xen_available())) {

Fixes my test case.  Thanks!

  reply	other threads:[~2012-01-24 18:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 21:09 [Qemu-devel] [PATCH 1/4] vga: improve VGA logic Blue Swirl
2012-01-13 20:08 ` Jan Kiszka
2012-01-24 15:57 ` Markus Armbruster
2012-01-24 17:29   ` Blue Swirl
2012-01-24 18:29     ` Markus Armbruster [this message]
2012-01-25 18:01       ` Blue Swirl

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=m3bopt2bu6.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=blauwirbel@gmail.com \
    --cc=jan.kiszka@siemens.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.