[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 03/11] rust: Add some block layer bindings
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH 03/11] rust: Add some block layer bindings |
Date: |
Thu, 13 Feb 2025 12:06:06 +0100 |
On Wed, Feb 12, 2025 at 8:52 PM Kevin Wolf <kwolf@redhat.com> wrote:
> I assume that sooner or later we'll have a reason to include it anyway,
> so that might honestly be the best option.
Sounds good.
> Do you want to post it as a proper patch? It seems to depend on your
> errno patch, but that shouldn't be a problem because we still want that
> one, too.
Yes, I wrote it as an addendum, as a kind of "let's see later what's
best"; that's also why the patch I posted uses "mod libc" for the
errno values. (The attachment gives away the date, too :)). I'll
clean up everything and add errno::into_neg_errno(); it should take
both an unsigned Ok value or Ok(()), and will return i32 or i64.
Paolo
- Re: [PATCH 10/11] bochs-rs: Add bochs block driver reimplementation in Rust, (continued)
- [PATCH 07/11] block: Add bdrv_open_blockdev_ref_file(), Kevin Wolf, 2025/02/11
- [PATCH 03/11] rust: Add some block layer bindings, Kevin Wolf, 2025/02/11
- Re: [PATCH 03/11] rust: Add some block layer bindings, Paolo Bonzini, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings, Kevin Wolf, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings, Paolo Bonzini, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings, Kevin Wolf, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings, Paolo Bonzini, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings, Kevin Wolf, 2025/02/12
- Re: [PATCH 03/11] rust: Add some block layer bindings,
Paolo Bonzini <=
[PATCH 05/11] rust/block: Add empty crate, Kevin Wolf, 2025/02/11
[PATCH 11/11] rust/block: Add format probing, Kevin Wolf, 2025/02/11
[PATCH 04/11] rust/qemu-api: Add wrappers to run futures in QEMU, Kevin Wolf, 2025/02/11
[PATCH 09/11] rust/block: Add read support for block drivers, Kevin Wolf, 2025/02/11