Re: [PATCH] hw/char/exynos4210_uart: Fix crash on trying to load VM state

2022-01-22 Thread Peter Maydell
On Sat, 22 Jan 2022 at 09:50, Philippe Mathieu-Daudé wrote: > > On 20/1/22 16:16, Peter Maydell wrote: > > The exynos4210_uart_post_load() function assumes that it is passed > > the Exynos4210UartState, but it has been attached to the > > VMStateDescription for the Exynos4210UartFIFO type. The re

Re: [PATCH] hw/char/exynos4210_uart: Fix crash on trying to load VM state

2022-01-22 Thread Philippe Mathieu-Daudé via
On 20/1/22 16:16, Peter Maydell wrote: The exynos4210_uart_post_load() function assumes that it is passed the Exynos4210UartState, but it has been attached to the VMStateDescription for the Exynos4210UartFIFO type. The result is a SIGSEGV when attempting to load VM state for any machine type inc

Re: [PATCH] hw/char/exynos4210_uart: Fix crash on trying to load VM state

2022-01-20 Thread Guenter Roeck
On 1/20/22 7:16 AM, Peter Maydell wrote: The exynos4210_uart_post_load() function assumes that it is passed the Exynos4210UartState, but it has been attached to the VMStateDescription for the Exynos4210UartFIFO type. The result is a SIGSEGV when attempting to load VM state for any machine type i

[PATCH] hw/char/exynos4210_uart: Fix crash on trying to load VM state

2022-01-20 Thread Peter Maydell
The exynos4210_uart_post_load() function assumes that it is passed the Exynos4210UartState, but it has been attached to the VMStateDescription for the Exynos4210UartFIFO type. The result is a SIGSEGV when attempting to load VM state for any machine type including this device. Fix the bug by attac