> --- a/rust/hw/char/pl011/src/device_class.rs
> +++ b/rust/hw/char/pl011/src/device_class.rs
> @@ -6,11 +6,11 @@
> use std::os::raw::{c_int, c_void};
>
> use qemu_api::{
> - bindings::*, c_str, vmstate_clock, vmstate_fields, vmstate_of,
> vmstate_subsections,
> - vmstate_unused, zeroable::Zeroable,
> + bindings::*, c_str, vmstate_clock, vmstate_fields, vmstate_of,
> vmstate_struct,
Oops, I forgot to clean up this bindings::*.
> + vmstate_subsections, vmstate_unused, zeroable::Zeroable,
> };
>
Very good example!
Reviewed-by: Zhao Liu <[email protected]>