[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 41/52] isa: express dependencies with kconfig
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 41/52] isa: express dependencies with kconfig |
Date: |
Thu, 14 Feb 2019 17:46:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 31/01/19 23:24, Philippe Mathieu-Daudé wrote:
> The model implementation is:
> - abstract SuperIO parent which can instantiate all configs,
> - child implementation.
>
> Childs require their parent, and even if the parent will instantiate
> them without all properties, the parent needs to link with them.
>
> In short, if a SuperIO child requires ISA_SUPERIO, it also requires to
> link to serial/parallel/floppy/ide.
It depends... Some SuperIO chips (children) do not have full
functionality, and will never have one or more of
serial/parallel/floppy/ide. This is why I left the choice of
"select"ing the components in the children. The code already has to set
up ISASuperIOClass, so there is knowledge of what to select.
Paolo
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 41/52] isa: express dependencies with kconfig,
Paolo Bonzini <=