diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2024-10-29 14:15:27 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-12-19 19:36:37 +0100 |
| commit | 4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca (patch) | |
| tree | b71d0ba5edc20818a6816b6e7530649a3763443f /rust/hw/char/pl011/src/device.rs | |
| parent | cb36da9bd84076470f36da56542e85a2436e3d95 (diff) | |
| download | focaccia-qemu-4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca.tar.gz focaccia-qemu-4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca.zip | |
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>
Diffstat (limited to 'rust/hw/char/pl011/src/device.rs')
| -rw-r--r-- | rust/hw/char/pl011/src/device.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/hw/char/pl011/src/device.rs b/rust/hw/char/pl011/src/device.rs index d9e9f35f45..3fed8b4ad2 100644 --- a/rust/hw/char/pl011/src/device.rs +++ b/rust/hw/char/pl011/src/device.rs @@ -11,10 +11,10 @@ use std::{ use qemu_api::{ bindings::{self, *}, c_str, - definitions::ObjectImpl, - device_class::DeviceImpl, irq::InterruptSource, prelude::*, + qdev::DeviceImpl, + qom::ObjectImpl, }; use crate::{ |