qemu-cr16/rust
Paolo Bonzini 56dbf087a8 rust/util: add ensure macro
The macro is similar to anyhow::ensure but uses QEMU's variation
on anyhow::Error.  It can be used to easily check a condition
and format an error message.

Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2025-11-04 17:13:00 +01:00
..
bindings/src char: rename CharBackend->CharFrontend 2025-10-28 14:49:52 +01:00
bits rust: re-export qemu_macros internal helper in "bits" 2025-09-17 19:00:57 +02:00
bql rust: remove useless glib_sys bindings 2025-10-28 13:02:21 +01:00
chardev char: rename CharBackend->CharFrontend 2025-10-28 14:49:52 +01:00
common rust/common/uninit: Fix Clippy's complaints about lifetime 2025-09-22 17:17:18 +02:00
hw rust/util: add ensure macro 2025-11-04 17:13:00 +01:00
migration rust: migration: allow passing ParentField<> to vmstate_of! 2025-10-29 10:23:56 +01:00
qemu-macros rust/qemu-macros: Convert bit value to u8 within #[property] 2025-10-28 14:50:07 +01:00
qom rust: migration: allow passing ParentField<> to vmstate_of! 2025-10-29 10:23:56 +01:00
system rust: remove useless glib_sys bindings 2025-10-28 13:02:21 +01:00
tests rust: re-export qemu macros from common/qom/hwcore 2025-09-17 19:00:58 +02:00
trace tracetool/syslog: add Rust support 2025-10-01 11:22:07 -04:00
util rust/util: add ensure macro 2025-11-04 17:13:00 +01:00
.gitignore
Cargo.lock rust: qemu-macros: add ToMigrationState derive macro 2025-10-14 11:04:07 +02:00
Cargo.toml rust: only leave leaf crates as workspace members 2025-10-28 13:02:26 +01:00
Kconfig rust: add PL011 device model 2024-11-05 14:18:15 +01:00
meson.build rust: move VMState from bql to migration 2025-10-14 11:04:00 +02:00
rustfmt.toml rust: add crate to expose bindings and interfaces 2024-10-11 12:32:17 +02:00