[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 08/10] rust: qdev: switch from legacy reset to Resettable
From: |
Zhao Liu |
Subject: |
Re: [PATCH 08/10] rust: qdev: switch from legacy reset to Resettable |
Date: |
Tue, 28 Jan 2025 17:25:59 +0800 |
> For now I prefer to make things homogeneous... this way if someone has
> to copy the code into a wrapper for a new interface they don't have to
> wonder about small differences.
Yes.
> (This by the way will also be a reason to use function pointers for
> character devices as well, instead of the trait approach that I used
> in https://lists.nongnu.org/archive/html/qemu-rust/2024-12/msg00006.html).
>
Got it.
Thanks,
Zhao