diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-10 16:11:58 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-02-13 12:19:34 +0100 |
commit | 7630ca2a701a0f79728996e660cda06518c97b9b (patch) | |
tree | e5dea0c62d84107da1b947042e90d0ee8f7ad809 /rust/qemu-api/src/qdev.rs | |
parent | a22bd55ffd889f3027c3158d0014c76f204c69dd (diff) | |
download | qemu-7630ca2a701a0f79728996e660cda06518c97b9b.zip qemu-7630ca2a701a0f79728996e660cda06518c97b9b.tar.gz qemu-7630ca2a701a0f79728996e660cda06518c97b9b.tar.bz2 |
rust: pl011: convert pl011_create to safe Rust
Not a major change but, as a small but significant step in creating
qdev bindings, show how pl011_create can be written without "unsafe"
calls (apart from converting pointers to references).
This also provides a starting point for creating Error** bindings.
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/qdev.rs')
0 files changed, 0 insertions, 0 deletions