aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api/src/lib.rs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-02-03 11:04:07 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2025-02-13 12:19:34 +0100
commita22bd55ffd889f3027c3158d0014c76f204c69dd (patch)
treef986d064e137d1577f3cc25ef659b9b1d2bcf8e8 /rust/qemu-api/src/lib.rs
parent61faf6ac7b25b9a743817f0c5fc935a6cdfa7dfb (diff)
downloadqemu-a22bd55ffd889f3027c3158d0014c76f204c69dd.zip
qemu-a22bd55ffd889f3027c3158d0014c76f204c69dd.tar.gz
qemu-a22bd55ffd889f3027c3158d0014c76f204c69dd.tar.bz2
rust: chardev, qdev: add bindings to qdev_prop_set_chr
Because the argument to the function is an Owned<Chardev>, this also adds an ObjectType implementation to Chardev. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/lib.rs')
-rw-r--r--rust/qemu-api/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/qemu-api/src/lib.rs b/rust/qemu-api/src/lib.rs
index e4316b2..2a338a8 100644
--- a/rust/qemu-api/src/lib.rs
+++ b/rust/qemu-api/src/lib.rs
@@ -18,6 +18,7 @@ pub mod bitops;
pub mod c_str;
pub mod callbacks;
pub mod cell;
+pub mod chardev;
pub mod irq;
pub mod memory;
pub mod module;