qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] vga: don't abort when adding a duplicate isa-vga device


From: Gerd Hoffmann
Subject: Re: [PATCH] vga: don't abort when adding a duplicate isa-vga device
Date: Mon, 16 Aug 2021 07:05:55 +0200

  Hi,

> > +    if (qemu_ram_block_by_name("vga.vram")) {
> > +        error_report("vga.vram is already registered, ignoring this 
> > device");
> > +        return;
> > +    }
> 
> I think we should not ignore the error, but rather turn this into a proper
> error (instead of aborting).

Yes.  Silently fixing up things automatically tends to be worse long-term.

take care,
  Gerd




reply via email to

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