On Fri, Oct 31, 2025 at 04:25:39PM +0100, Paolo Bonzini wrote: > Date: Fri, 31 Oct 2025 16:25:39 +0100 > From: Paolo Bonzini <[email protected]> > Subject: [PATCH 4/4] rust: pull error_fatal out of > SysbusDeviceMethods::sysbus_realize > X-Mailer: git-send-email 2.51.1 > > Return a Result<()> from the method, and "unwrap" it into error_fatal > in the caller. > > Signed-off-by: Paolo Bonzini <[email protected]> > --- > rust/hw/char/pl011/src/device.rs | 4 ++-- > rust/hw/core/src/sysbus.rs | 13 ++++++------- > rust/util/src/error.rs | 31 ++++++++++++++++++++++++++++++- > rust/util/src/lib.rs | 2 +- > 4 files changed, 39 insertions(+), 11 deletions(-)
Reviewed-by: Zhao Liu <[email protected]>
