[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC PATCH 01/10] configure: factor out list of support
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [RFC PATCH 01/10] configure: factor out list of supported Xen/KVM targets |
Date: |
Mon, 17 Sep 2012 20:15:33 +0100 |
On 17 September 2012 19:53, Stefano Stabellini
<address@hidden> wrote:
> On Mon, 17 Sep 2012, Stefano Stabellini wrote:
>> On Mon, 17 Sep 2012, Peter Maydell wrote:
>> > This is a change in behaviour, isn't it? The old configure code
>> > enables CONFIG_XEN based only on $target_arch2, it doesn't try
>> > to ensure that the host and target CPU are the same architecture.
>> > Granted, that looks like a bug, but it should probably be fixed
>> > in a separate patch to this kind of refactoring patch.
>>
>> That's because the target cpu is irrelevant, QEMU never sees it (it is
>> only a device emulator on Xen).
>> I have no problems with the introduction of supported_xen_target(), but
>> I would prefer if you could avoid $cpu tests.
>
> Reading again what you wrote and the relevant code, I think that you
> meant that both host and guest should be x86 machines (rather than one
> being ARM and the other x86). In that case I agree and I think it is OK
> to make the change in this patch.
Yes, that is what I meant, sorry: at the moment if you build an
x86 softmmu target on an ARM host and your ARM host has Xen
headers we'll try to enable Xen when it's not going to work.
> Paolo's test supports both i386:x86_64 and x86_64:i386, so I think
> should be OK.
Yes, the final result looks OK, I'd just like it split out from
the refactoring part, ideally.
-- PMM
[Qemu-devel] [RFC PATCH 08/10] configure: add --disable-tcg configure option, Paolo Bonzini, 2012/09/17
[Qemu-devel] [RFC PATCH 05/10] exec: small adjustments for TCG separation, Paolo Bonzini, 2012/09/17
[Qemu-devel] [RFC PATCH 06/10] monitor: disable info jit if !TCG, Paolo Bonzini, 2012/09/17
[Qemu-devel] [RFC PATCH 09/10] i386: move TCG functions out of helper.o, non-TCG functions to cpu.o, Paolo Bonzini, 2012/09/17
[Qemu-devel] [RFC PATCH 07/10] configure: emit summary at the very end, Paolo Bonzini, 2012/09/17