qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/4] isa: extract FDC37M81X to a separate file


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 2/4] isa: extract FDC37M81X to a separate file
Date: Tue, 30 Jan 2024 08:48:50 +0100
User-agent: Mozilla Thunderbird

On 29/1/24 21:26, Paolo Bonzini wrote:
On Mon, Jan 29, 2024 at 8:49 PM Bernhard Beschow <shentey@gmail.com> wrote:
Don't we prefer a macro for below code? While touching the code we could use 
it. (Sorry I can't recall its name from the top of my head and I don't have 
access to the code right now).

Ah yeah, OBJECT_DEFINE_TYPE. Not sure it's much of a win because
neither finalize or instance_init are required here.

Bernhard likely meant type_init() -> DEFINE_TYPES().




reply via email to

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