qemu-ppc
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 0/7] hw/qdev: Split 'wiring' phase from 'realize'


From: BALATON Zoltan
Subject: Re: [RFC PATCH 0/7] hw/qdev: Split 'wiring' phase from 'realize'
Date: Fri, 9 Feb 2024 14:16:53 +0100 (CET)

Hello,

Instead of adding a new method to devices, why not move wiring to the code that created/realized the device? Either it's the job of the code that created the device and wants to use it or if it's an internal object the device itself is created then it should be OK to wire it in the device realize method. I probably don't understand the problem fully, what I want to say is that device creation is complex enough now so trying to avoid adding more complexity to it would be a good thing.

Regards,
BALATON Zoltan



reply via email to

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