Laurent Vivier 14554b3dcc pmu: fix pmu vmstate subsection list
The subsection is not closed by a NULL marker so this can trigger
a segfault when the pmu vmstate is saved.

This can be easily shown with:

  $ ./qemu-system-ppc64  -dump-vmstate vmstate.json
  Segmentation fault (core dumped)

Fixes: d811d61fbc6c ("mac_newworld: add PMU device")
Cc: mark.cave-ayland@ilande.co.uk
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
2021-11-17 19:10:44 +01:00
..
2019-08-16 13:31:52 +02:00
2021-10-20 16:18:40 +02:00
2021-05-02 17:24:50 +02:00
2021-03-12 12:48:56 +00:00
2019-08-16 13:31:52 +02:00
2021-02-20 12:36:19 +01:00
2021-11-02 17:24:18 +01:00
2021-10-20 16:18:40 +02:00
2020-12-08 13:48:57 -05:00
2021-02-08 15:15:32 +01:00
2021-11-09 10:11:27 +01:00