The getter/setter use visit_type_size(). Fix the type name mismatch. Reviewed-by: Amit Machhiwal Signed-off-by: Markus Armbruster Signed-off-by: Marc-André Lureau --- hw/ppc/spapr_caps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ppc/spapr_caps.c b/hw/ppc/spapr_caps.c index 0d659e9b0251..103b17364feb 100644 --- a/hw/ppc/spapr_caps.c +++ b/hw/ppc/spapr_caps.c @@ -784,7 +784,7 @@ SpaprCapabilityInfo capability_table[SPAPR_CAP_NUM] = { .index = SPAPR_CAP_HPT_MAXPAGESIZE, .get = spapr_cap_get_pagesize, .set = spapr_cap_set_pagesize, - .type = "int", + .type = "size", .apply = cap_hpt_maxpagesize_apply, .cpu_apply = cap_hpt_maxpagesize_cpu_apply, }, -- 2.56.0.116.g6de20f6092dc