rust: rename qemu-api modules to follow C code a bit more

A full match would mean calling them qom::object and hw::core::qdev.  For now,
keep the names shorter but still a bit easier to find.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2024-10-29 14:15:27 +01:00
parent cb36da9bd8
commit 4aed0296b3
10 changed files with 91 additions and 56 deletions

View file

@ -19,11 +19,12 @@ _qemu_api_rs = static_library(
'src/bitops.rs',
'src/cell.rs',
'src/c_str.rs',
'src/definitions.rs',
'src/device_class.rs',
'src/irq.rs',
'src/module.rs',
'src/offset_of.rs',
'src/prelude.rs',
'src/qdev.rs',
'src/qom.rs',
'src/sysbus.rs',
'src/vmstate.rs',
'src/zeroable.rs',