aboutsummaryrefslogtreecommitdiff
path: root/rust/hw/char/pl011/src/device.rs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-10-29 14:15:27 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2024-12-19 19:36:37 +0100
commit4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca (patch)
treeb71d0ba5edc20818a6816b6e7530649a3763443f /rust/hw/char/pl011/src/device.rs
parentcb36da9bd84076470f36da56542e85a2436e3d95 (diff)
downloadqemu-4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca.zip
qemu-4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca.tar.gz
qemu-4aed0296b307b6e2e3b7d38ee6c5204cf2dfe1ca.tar.bz2
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.rs4
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 d9e9f35..3fed8b4 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::{