Fix build errors in cxl_type3_stubs.c due to a the incorrect definition of the qmp_cxl_{add,release}_dynamic_capacity functions.
Signed-off-by: Hyeonggon Yoo <42.hye...@gmail.com> --- hw/mem/cxl_type3_stubs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/mem/cxl_type3_stubs.c b/hw/mem/cxl_type3_stubs.c index 1b54ec028c..d913b11b4d 100644 --- a/hw/mem/cxl_type3_stubs.c +++ b/hw/mem/cxl_type3_stubs.c @@ -68,14 +68,14 @@ void qmp_cxl_inject_correctable_error(const char *path, CxlCorErrorType type, error_setg(errp, "CXL Type 3 support is not compiled in"); } -void qmp_cxl_add_dynamic_capacity(const char *path, +void qmp_cxl_add_dynamic_capacity(const char *path, uint8_t region_id, CXLDCExtentRecordList *records, Error **errp) { error_setg(errp, "CXL Type 3 support is not compiled in"); } -void qmp_cxl_release_dynamic_capacity(const char *path, +void qmp_cxl_release_dynamic_capacity(const char *path, uint8_t region_id, CXLDCExtentRecordList *records, Error **errp) { -- 2.39.3