All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] build: disable Xen on ARM
@ 2017-07-11  8:23 Paolo Bonzini
  2017-07-11  9:53 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2017-07-11  8:23 UTC (permalink / raw)
  To: qemu-devel

While ARM could present the xenpv machine, it does not and trying to enable
it breaks compilation.

Fixes: 3b6b75506de44c5070639943c30a0ad5850f5d02
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure | 1 -
 1 file changed, 1 deletion(-)

diff --git a/configure b/configure
index a2bec60a97..97b02244fe 100755
--- a/configure
+++ b/configure
@@ -203,7 +203,6 @@ supported_xen_target() {
     test "$xen" = "yes" || return 1
     glob "$1" "*-softmmu" || return 1
     case "${1%-softmmu}:$cpu" in
-        arm:arm | aarch64:aarch64 | \
         i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64)
             return 0
         ;;
-- 
2.13.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] build: disable Xen on ARM
  2017-07-11  8:23 [Qemu-devel] [PATCH] build: disable Xen on ARM Paolo Bonzini
@ 2017-07-11  9:53 ` Peter Maydell
  2017-07-11  9:59   ` Paolo Bonzini
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Maydell @ 2017-07-11  9:53 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: QEMU Developers, Stefano Stabellini, Anthony PERARD

On 11 July 2017 at 09:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
> While ARM could present the xenpv machine, it does not and trying to enable
> it breaks compilation.
>
> Fixes: 3b6b75506de44c5070639943c30a0ad5850f5d02
> Reported-by: Alex Bennée <alex.bennee@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  configure | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/configure b/configure
> index a2bec60a97..97b02244fe 100755
> --- a/configure
> +++ b/configure
> @@ -203,7 +203,6 @@ supported_xen_target() {
>      test "$xen" = "yes" || return 1
>      glob "$1" "*-softmmu" || return 1
>      case "${1%-softmmu}:$cpu" in
> -        arm:arm | aarch64:aarch64 | \
>          i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64)
>              return 0
>          ;;

Does this actually do the right thing? It's still testing
target-cpu:guest-cpu, if I'm reading it correctly, whereas
previously we only looked at target-cpu to decide whether
to set CONFIG_XEN.

In particular, I thought that for aarch64/arm Xen setups
we would end up building an i386-softmmu target on an
arm/aarch64 host and wanted CONFIG_XEN to be set in that
setup ?  (I could be wrong there -- cc'ing Stefan and
Anthony to check.)

thanks
-- PMM

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] build: disable Xen on ARM
  2017-07-11  9:53 ` Peter Maydell
@ 2017-07-11  9:59   ` Paolo Bonzini
  2017-07-12  0:16     ` Stefano Stabellini
  0 siblings, 1 reply; 4+ messages in thread
From: Paolo Bonzini @ 2017-07-11  9:59 UTC (permalink / raw)
  To: Peter Maydell; +Cc: QEMU Developers, Stefano Stabellini, Anthony PERARD

On 11/07/2017 11:53, Peter Maydell wrote:
> On 11 July 2017 at 09:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
>> While ARM could present the xenpv machine, it does not and trying to enable
>> it breaks compilation.
>>
>> Fixes: 3b6b75506de44c5070639943c30a0ad5850f5d02
>> Reported-by: Alex Bennée <alex.bennee@linaro.org>
>> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
>> ---
>>  configure | 1 -
>>  1 file changed, 1 deletion(-)
>>
>> diff --git a/configure b/configure
>> index a2bec60a97..97b02244fe 100755
>> --- a/configure
>> +++ b/configure
>> @@ -203,7 +203,6 @@ supported_xen_target() {
>>      test "$xen" = "yes" || return 1
>>      glob "$1" "*-softmmu" || return 1
>>      case "${1%-softmmu}:$cpu" in
>> -        arm:arm | aarch64:aarch64 | \
>>          i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64)
>>              return 0
>>          ;;
> 
> Does this actually do the right thing? It's still testing
> target-cpu:guest-cpu, if I'm reading it correctly, whereas
> previously we only looked at target-cpu to decide whether
> to set CONFIG_XEN.
> 
> In particular, I thought that for aarch64/arm Xen setups
> we would end up building an i386-softmmu target on an
> arm/aarch64 host and wanted CONFIG_XEN to be set in that
> setup ?

Yes, that's correct.

Paolo

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [PATCH] build: disable Xen on ARM
  2017-07-11  9:59   ` Paolo Bonzini
@ 2017-07-12  0:16     ` Stefano Stabellini
  0 siblings, 0 replies; 4+ messages in thread
From: Stefano Stabellini @ 2017-07-12  0:16 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Peter Maydell, QEMU Developers, Stefano Stabellini, Anthony PERARD

On Tue, 11 Jul 2017, Paolo Bonzini wrote:
> On 11/07/2017 11:53, Peter Maydell wrote:
> > On 11 July 2017 at 09:23, Paolo Bonzini <pbonzini@redhat.com> wrote:
> >> While ARM could present the xenpv machine, it does not and trying to enable
> >> it breaks compilation.
> >>
> >> Fixes: 3b6b75506de44c5070639943c30a0ad5850f5d02
> >> Reported-by: Alex Bennée <alex.bennee@linaro.org>
> >> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> >> ---
> >>  configure | 1 -
> >>  1 file changed, 1 deletion(-)
> >>
> >> diff --git a/configure b/configure
> >> index a2bec60a97..97b02244fe 100755
> >> --- a/configure
> >> +++ b/configure
> >> @@ -203,7 +203,6 @@ supported_xen_target() {
> >>      test "$xen" = "yes" || return 1
> >>      glob "$1" "*-softmmu" || return 1
> >>      case "${1%-softmmu}:$cpu" in
> >> -        arm:arm | aarch64:aarch64 | \
> >>          i386:i386 | i386:x86_64 | x86_64:i386 | x86_64:x86_64)
> >>              return 0
> >>          ;;
> > 
> > Does this actually do the right thing? It's still testing
> > target-cpu:guest-cpu, if I'm reading it correctly, whereas
> > previously we only looked at target-cpu to decide whether
> > to set CONFIG_XEN.
> > 
> > In particular, I thought that for aarch64/arm Xen setups
> > we would end up building an i386-softmmu target on an
> > arm/aarch64 host and wanted CONFIG_XEN to be set in that
> > setup ?
> 
> Yes, that's correct.

Yes, you are right. The patch is good, thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-07-12  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-11  8:23 [Qemu-devel] [PATCH] build: disable Xen on ARM Paolo Bonzini
2017-07-11  9:53 ` Peter Maydell
2017-07-11  9:59   ` Paolo Bonzini
2017-07-12  0:16     ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.