Hi Philippe, It seems that vmstate_ecc_state and vmstate_x86_cpu can also be constified. Found by <git grep "VMStateDescription" | grep -v "const">.
Thanks, Keqian On 2021/3/14 1:11, Philippe Mathieu-Daudé wrote: > VMStateDescription isn't supposed to be modified. > > > > Philippe Mathieu-Daudé (3): > > hw/arm: Constify VMStateDescription > > hw/display/qxl: Constify VMStateDescription > > hw/usb: Constify VMStateDescription > > > > hw/arm/highbank.c | 2 +- > > hw/arm/pxa2xx_pic.c | 2 +- > > hw/arm/spitz.c | 4 ++-- > > hw/arm/strongarm.c | 2 +- > > hw/arm/z2.c | 4 ++-- > > hw/display/qxl.c | 8 ++++---- > > hw/dma/pxa2xx_dma.c | 4 ++-- > > hw/misc/mst_fpga.c | 2 +- > > hw/usb/ccid-card-passthru.c | 2 +- > > hw/usb/dev-smartcard-reader.c | 8 ++++---- > > 10 files changed, 19 insertions(+), 19 deletions(-) > > >