mirror of
https://github.com/utmapp/qemu.git
synced 2026-12-02 06:32:54 -10:00
This is a cleaned up and separated version of the patches at https://lore.kernel.org/all/[email protected]/ https://lore.kernel.org/all/[email protected]/ Its first user will be the Error bindings; for example a QEMU Error ** can be converted to a Rust Option using unsafe { Option::<Error>::from_foreign(c_error) } Reviewed-by: Zhao Liu <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>