qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 32/52] kconfig: introduce kconfig files
Date: Thu, 31 Jan 2019 14:37:14 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 31/01/19 14:21, Thomas Huth wrote:
> On 2019-01-25 11:06, Paolo Bonzini wrote:
> [...]
>> diff --git a/hw/misc/macio/Kconfig b/hw/misc/macio/Kconfig
>> new file mode 100644
>> index 0000000..c6caeb6
>> --- /dev/null
>> +++ b/hw/misc/macio/Kconfig
>> @@ -0,0 +1,11 @@
>> +config CUDA
>> +    bool
>> +
>> +config MAC_PMU
>> +    bool
>> +
>> +config MAC_DBDMA
>> +    bool
>> +
>> +config MACIO_GPIO
>> +    bool
> [...]
>> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig
>> new file mode 100644
>> index 0000000..9da9d7d
>> --- /dev/null
>> +++ b/hw/ppc/Kconfig
> [...]
>> +
>> +config MAC_DBDMA
>> +    bool
>> +
>> +config MAC_PMU
>> +    bool
>> +
>> +config XIVE
>> +    bool
>> +
>> +config MACIO_GPIO
>> +    bool
>> +
>> +config XIVE_SPAPR
>> +    bool
>> +
>> +config CUDA
>> +    bool
> 
> I just noticed that the config switches from hw/misc/macio/Kconfig are
> duplicated here. Kind of ugly. Would it be possible to define them only
> in one place?

Yes, of course.  It's also a good idea to detect duplicate "config"
directives.

Paolo



reply via email to

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