Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Paolo Bonzini
On 03/07/2017 14:09, Daniel P. Berrange wrote: >> It would leave you with a tools-only build; whether that's a good idea, >> it's another story. I think it's acceptable, but others may disagree. > If you do 'configure --target-list=x86_64-softmmu --disable-tcg' on a > non-x86 host I would be sur

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Daniel P. Berrange
On Mon, Jul 03, 2017 at 12:55:04PM +0200, Paolo Bonzini wrote: > > > On 03/07/2017 12:33, Daniel P. Berrange wrote: > >> i386-softmmu and x86_64-softmmu are singled out here, because they're > >> the only targets where --disable-tcg compiles. For the others, more > >> work is needed (see patches

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Thomas Huth
On 03.07.2017 12:55, Paolo Bonzini wrote: > > > On 03/07/2017 12:33, Daniel P. Berrange wrote: >>> i386-softmmu and x86_64-softmmu are singled out here, because they're >>> the only targets where --disable-tcg compiles. For the others, more >>> work is needed (see patches 6-15 in Yang Zhong's se

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Paolo Bonzini
On 03/07/2017 12:33, Daniel P. Berrange wrote: >> i386-softmmu and x86_64-softmmu are singled out here, because they're >> the only targets where --disable-tcg compiles. For the others, more >> work is needed (see patches 6-15 in Yang Zhong's series). > > Even with that, you still can't disable

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Daniel P. Berrange
On Mon, Jul 03, 2017 at 12:25:36PM +0200, Paolo Bonzini wrote: > > > On 03/07/2017 12:20, Daniel P. Berrange wrote: > >> > >> +if test "$tcg" = "no"; then > >> + for target in $target_list; do > >> + if test "$softmmu" = "yes"; then > >> +case $target in > >> + i386-sof

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Paolo Bonzini
On 03/07/2017 12:20, Daniel P. Berrange wrote: >> >> +if test "$tcg" = "no"; then >> + for target in $target_list; do >> + if test "$softmmu" = "yes"; then >> +case $target in >> + i386-softmmu|x86_64-softmmu) >> + ;; >> +*) >> + error_exit "

Re: [Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Daniel P. Berrange
On Mon, Jul 03, 2017 at 06:12:09PM +0800, Yang Zhong wrote: > Add the disable-tcg option into configure and echo CONFIG_TCG=y into > $config_target_mak. The default tcg is enabled for all build, only i386 > and x86_64 softmmu option can be disabled. This operation do not make > big change with the

[Qemu-devel] [PATCH v2 01/15] configure: add the disable-tcg option

2017-07-03 Thread Yang Zhong
Add the disable-tcg option into configure and echo CONFIG_TCG=y into $config_target_mak. The default tcg is enabled for all build, only i386 and x86_64 softmmu option can be disabled. This operation do not make big change with the older build command. The new configure build command like below (1)