On Fri, Jul 20, 2018 at 10:19:48AM +0200, [email protected] wrote:
> From: "Remy Noel" <[email protected]>
>
> When removing a secondary-vga device and then adding it back (or adding
> an other one), qemu aborts with:
> "RAMBlock "0000:00:02.0/vga.vram" already registered, abort!".
>
> It is caused by the vram staying registered, preventing vga replugging.
David? Does that look ok?
This balances the
vmstate_register_ram(&s->vram, s->global_vmstate ? NULL : DEVICE(obj));
call in vga_common_init(). I'm wondering whenever the manual cleanup is
actually needed in case owner is not NULL?
thanks,
Gerd