diff options
author | Zhao Liu <zhao1.liu@intel.com> | 2025-03-18 21:02:19 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-03-21 12:56:00 +0100 |
commit | f7b87e464c8e9d30661fb9f519ed14fb053cd415 (patch) | |
tree | 3669686c905b71265ccb4d23a8ec5c52952e55d0 /rust/hw | |
parent | 9bd7e6f7f2f0f97178fe6884b39f40e686567f52 (diff) | |
download | qemu-f7b87e464c8e9d30661fb9f519ed14fb053cd415.zip qemu-f7b87e464c8e9d30661fb9f519ed14fb053cd415.tar.gz qemu-f7b87e464c8e9d30661fb9f519ed14fb053cd415.tar.bz2 |
rust/vmstate: Include complete crate path of VMStateFlags in vmstate_clock
The use of "bindings::*" masks incomplete path of VMStateFlags.
Include complete crate path of VMStateFlags in vmstate_clock, and clean
up "bindings::*" in device_class.rs of pl011.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20250318130219.1799170-16-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/hw')
-rw-r--r-- | rust/hw/char/pl011/src/device_class.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rust/hw/char/pl011/src/device_class.rs b/rust/hw/char/pl011/src/device_class.rs index 0b2076d..b4d4a7e 100644 --- a/rust/hw/char/pl011/src/device_class.rs +++ b/rust/hw/char/pl011/src/device_class.rs @@ -8,8 +8,12 @@ use std::{ }; use qemu_api::{ - bindings::*, c_str, prelude::*, vmstate_clock, vmstate_fields, vmstate_of, vmstate_struct, - vmstate_subsections, vmstate_unused, zeroable::Zeroable, + bindings::{qdev_prop_bool, qdev_prop_chr}, + c_str, + prelude::*, + vmstate::VMStateDescription, + vmstate_clock, vmstate_fields, vmstate_of, vmstate_struct, vmstate_subsections, vmstate_unused, + zeroable::Zeroable, }; use crate::device::{PL011Registers, PL011State}; |