On Wed, 2 Mar 2022 at 21:41, Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> wrote: > > Currently when QEMU tries to migrate the macfb framebuffer it crashes randomly > because the opaque provided by the DeviceClass vmsd property for both devices > is set to MacfbState rather than MacfbNubusState or MacfbSysBusState as > appropriate. > > Resolve the issue by adding new VMStateDescriptions for MacfbNubusState and > MacfbSysBusState which embed the existing vmstate_macfb VMStateDescription > within them using VMSTATE_STRUCT. > > Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk> > ---
Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> thanks -- PMM