qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/4] vga: improve VGA logic


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 1/4] vga: improve VGA logic
Date: Wed, 25 Jan 2012 18:01:03 +0000

On Tue, Jan 24, 2012 at 18:29, Markus Armbruster <address@hidden> wrote:
> Blue Swirl <address@hidden> writes:
>
>> On Tue, Jan 24, 2012 at 15:57, Markus Armbruster <address@hidden> 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 <address@hidden> 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 <address@hidden>
>>
>> I think this would fix it:
>>
>> commit 07e11c4222c93e4b2e615ad1dbf17f325f354c02
>> Author: Blue Swirl <address@hidden>
>> 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 <address@hidden>
>>
>> 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!

Thanks for testing, applied.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]