[Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-01-25 Thread Paolo Bonzini
The make_device_config.sh script is replaced by minikconf, which is modified to support the same command line as its predecessor. The roots of the parsing are default-configs/*.mak, Kconfig.host and hw/Kconfig. One difference with make_device_config.sh is that all symbols have to be defined in a

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-02-01 Thread Philippe Mathieu-Daudé
On 1/31/19 11:15 PM, Paolo Bonzini wrote: > On 31/01/19 22:48, Philippe Mathieu-Daudé wrote: >> There is something I don't understand here: Does CONFIG_XEN in >> Kconfig.host take precedence over the target configs? I'm looking at >> these configs: >> >> if supported_xen_target $target; then >>

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-02-01 Thread Paolo Bonzini
On 01/02/19 15:56, Philippe Mathieu-Daudé wrote: > Now when I disable Xen, exec.o isn't rebuilt, so I get link errors: > > /usr/bin/ld: exec.o: in function `reclaim_ramblock': > qemu/exec.c:2392: undefined reference to `xen_invalidate_map_cache_entry' > /usr/bin/ld: exec.o: in function `qemu_ram_p

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-02-04 Thread Paolo Bonzini
On 01/02/19 15:56, Philippe Mathieu-Daudé wrote: > On 1/31/19 11:15 PM, Paolo Bonzini wrote: >> On 31/01/19 22:48, Philippe Mathieu-Daudé wrote: >>> There is something I don't understand here: Does CONFIG_XEN in >>> Kconfig.host take precedence over the target configs? I'm looking at >>> these conf

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-02-04 Thread Anthony PERARD
On Thu, Jan 31, 2019 at 10:48:50PM +0100, Philippe Mathieu-Daudé wrote: > I cc'ed the Xen team, it would be nice if one of them also tests this. I've tested the series, and here is the first issue: CC hw/9pfs/xen-9p-backend.o LINKi386-softmmu/qemu-system-i386 /usr/bin/ld: ../hw/xen/xe

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-02-04 Thread Paolo Bonzini
On 04/02/19 16:45, Anthony PERARD wrote: > I've tested the series, and here is the first issue: > CC hw/9pfs/xen-9p-backend.o > LINKi386-softmmu/qemu-system-i386 > /usr/bin/ld: ../hw/xen/xen-legacy-backend.o: in function > `xen_be_register_common': > xen-legacy-backend.c:(.text+0x1cb6

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-01-31 Thread Philippe Mathieu-Daudé
Hi Paolo, On 1/25/19 11:06 AM, Paolo Bonzini wrote: > The make_device_config.sh script is replaced by minikconf, which > is modified to support the same command line as its predecessor. > > The roots of the parsing are default-configs/*.mak, Kconfig.host and > hw/Kconfig. One difference with mak

Re: [Qemu-devel] [PATCH 33/52] build: switch to Kconfig

2019-01-31 Thread Paolo Bonzini
On 31/01/19 22:48, Philippe Mathieu-Daudé wrote: > There is something I don't understand here: Does CONFIG_XEN in > Kconfig.host take precedence over the target configs? I'm looking at > these configs: > > if supported_xen_target $target; then > echo "CONFIG_XEN=n" >> $config_target_mak >