aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-27 14:56:30 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-20 08:18:53 +0200
commit198265df8a71e6743d42d5003c29a060fea7d019 (patch)
treef2e7234260ec3bb01a969de43ac03747345b4eab /python
parent4e012d36c8654e7fa12762002150334bf591628a (diff)
downloadqemu-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