[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH v2 00/37] Support Kconfig in QEMU
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC PATCH v2 00/37] Support Kconfig in QEMU |
Date: |
Wed, 16 Jan 2019 00:20:12 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 |
On 15/01/19 15:10, Yang Zhong wrote:
> This Kconfig implementation is rebased from Paolo's branch
> https://github.com/bonzini/qemu/commits/kconfig
>
> I rebased most of patches except other ARCHs board definitions
> this time.
> https://github.com/yangzhon/qemu/commits/topic/upstream/Kconfig
>
> The current RFC patches only support
> (*) x86_64 platform build
> Once design is fixed, we can do other archs.
>
> (*) defconfig
> "randconfig" build has some issues, which are mostly related
> with CONFIG* in Kconfig.host abd configure. In randconfig mode,
> some CONFIG* has different setting value in config-host.mak and
> %/config-device.mak, which make QEMU build failure.
>
> (*) Kconfig in hw/ directory
>
> The current configure and build command are same with previous
> commands and if we want to disable or enable some features, like
> "tcg", we still need add "--enable/--disable-tcg" in configure
> command line. If we want to disable one emulation device, we can
> disable this in related Kconfig file in hw/ directory.
>
> The current build command:
> (*) ./configure --target-list=x86_64-softmmu
> (*) make -j8
>
> Since the Kconfig language replace traditional CONFIG_* in
> default-config/%-softmmu.mak, the %-softmmu.mak file only
> define embeded boards or machines, like 440fx and Q35 in x86_64
> platform. The Kconfig has already defined dependency topology
> between different Kconfig files, but there are still some issues
>
> (*) Kconfig for configure(config-host.mak)
> Some CONFIG* in configure need some logic to generate, those
> are hard to input this CONFIG* in Kconfig.host or Kconfig* file.
>
> (*) Kconfig for %config-target.mak
> The CONFIG* in %/config-target.mak file, this is still related
> with configure.
>
> (*) randconfig support issue.
>
> Before this RFC patches, we have talked Kconfig in another thread
> http://lists.nongnu.org/archive/html/qemu-devel/2018-09/msg02827.html
>
> Please give your comments on this RFC thread, many thanks!
Generally looks good. I'll let Thomas do another pass, in the meanwhile
I'll find some time to look at the randconfig issue.
Paolo
- [Qemu-devel] [RFC PATCH v2 03/37] hw/arm/Makefile.objs: CONFIG_VIRT created for virt board, (continued)
- [Qemu-devel] [RFC PATCH v2 03/37] hw/arm/Makefile.objs: CONFIG_VIRT created for virt board, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 16/37] minikconfig: add AST, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 08/37] hw/sh4/Makefile.objs: New CONFIG_* varibales created for sh4 boards and device, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 02/37] hw/i386/Makefile.objs: Build pc_piix* and pc_q35 boards, Yang Zhong, 2019/01/15
- [Qemu-devel] [RFC PATCH v2 04/37] hw/m68k/Makefile.objs: Conditionally build boards, Yang Zhong, 2019/01/15
- Re: [Qemu-devel] [RFC PATCH v2 00/37] Support Kconfig in QEMU,
Paolo Bonzini <=
- Re: [Qemu-devel] [RFC PATCH v2 00/37] Support Kconfig in QEMU, Thomas Huth, 2019/01/16