Re: [PATCH 11/11] target/riscv/cpu: remove CPUArchState^features and friends

2023-02-14 Thread weiwei
On 2023/2/10 21:36, Daniel Henrique Barboza wrote: The attribute is no longer used since we can retrieve all the enabled features in the hart by using cpu->cfg instead. Remove env->feature, riscv_feature() and riscv_set_feature(). We also need to bump vmstate_riscv_cpu version_id and minimal_v

[PATCH 11/11] target/riscv/cpu: remove CPUArchState::features and friends

2023-02-10 Thread Daniel Henrique Barboza
The attribute is no longer used since we can retrieve all the enabled features in the hart by using cpu->cfg instead. Remove env->feature, riscv_feature() and riscv_set_feature(). We also need to bump vmstate_riscv_cpu version_id and minimal_version_id since 'features' is no longer being migrated.