Re: [PATCH v6 9/9] target/riscv/cpu: remove CPUArchState::features and friends

2023-02-16 Thread LIU Zhiwei
On 2023/2/17 5:55, 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

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

2023-02-16 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