qemu-rust
[Top][All Lists]
Advanced

[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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]