Re: [PATCH v2 10/11] bochs-rs: Add bochs block driver reimplementation in Rust

2025-03-05 Thread Stefan Hajnoczi
On Tue, Feb 18, 2025 at 07:20:18PM +0100, Kevin Wolf wrote: > This adds a separate block driver for the bochs image format called > 'bochs-rs' so that for the moment both the C implementation and the Rust > implementation can be present in the same build. The intention is to > remove the C implemen

Re: [PATCH v2 10/11] bochs-rs: Add bochs block driver reimplementation in Rust

2025-02-19 Thread Zhao Liu
> +use crate::driver::{block_driver, BdrvChild, BlockDriver, Mapping, > MappingTarget, Request}; > +use crate::SizedIoBuffer; > +use qemu_api::bindings; it's better to list all items from bindings here, which helps in understanding which parts will need a wrapper added later. > +use qemu_api::er

[PATCH v2 10/11] bochs-rs: Add bochs block driver reimplementation in Rust

2025-02-18 Thread Kevin Wolf
This adds a separate block driver for the bochs image format called 'bochs-rs' so that for the moment both the C implementation and the Rust implementation can be present in the same build. The intention is to remove the C implementation eventually and rename this one into 'bochs'. This can only ha