Cuju-ft/Cuju

If over 32 core smp it will cause Assertion `ftdev->state_entry_num < CUJU_FT_DEV_STATE_ENTRY_SIZE' failed.

PJTPJT opened this issue · 1 comments

savevm.c:2799: qemu_savevm_trans_complete_precopy_advanced: Assertion `ftdev->state_entry_num < CUJU_FT_DEV_STATE_ENTRY_SIZE' failed.

CUJU_FT_DEV_STATE_ENTRY_SIZE in include/migration/migration.h
#define CUJU_FT_DEV_STATE_ENTRY_SIZE 50

If we want to use -smp 32
We need change to CUJU_FT_DEV_STATE_ENTRY_SIZE 150
Maybe it need a dynamic method to handle this thing

Fix on this commit
5ec3226