diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-27 14:56:30 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-20 08:18:53 +0200 |
commit | 198265df8a71e6743d42d5003c29a060fea7d019 (patch) | |
tree | f2e7234260ec3bb01a969de43ac03747345b4eab /python | |
parent | 4e012d36c8654e7fa12762002150334bf591628a (diff) | |
download | qemu-198265df8a71e6743d42d5003c29a060fea7d019.zip qemu-198265df8a71e6743d42d5003c29a060fea7d019.tar.gz qemu-198265df8a71e6743d42d5003c29a060fea7d019.tar.bz2 |
target/riscv: convert profile CPU models to RISCVCPUDef
Profile CPUs reuse the instance_init function for bare CPUs; make them
proper subclasses instead. Enabling a profile is now done based on the
RISCVCPUDef struct: even though there is room for only one in RISCVCPUDef,
subclasses check that the parent class's profile is enabled through the
parent profile mechanism.
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions