qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 4/6] qom: Move cpu.o to obj-y.


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH v1 4/6] qom: Move cpu.o to obj-y.
Date: Tue, 2 Sep 2014 08:28:52 +1000

On Tue, Sep 2, 2014 at 3:54 AM, Paolo Bonzini <address@hidden> wrote:
> Il 01/09/2014 19:43, Peter Maydell ha scritto:
>> On 26 August 2014 01:58, Peter Crosthwaite <address@hidden> wrote:
>>> It's not really a common object
>>
>> In what sense isn't it a common object? It's only
>> compiled once, rather than per-target. We should
>> avoid moving object files from compiled-once
>> to compiled-per-target if we can...
>
> Should we add a softmmu_enabled() function similar to kvm_enabled(),
> that returns true for system emulation and false for user-mode emulation?
>

Doesn't really help me in this case, as I need conditional compliation
due to use of the maybe-exists &address_space_memory. I would also
need to add get_system_address_space() which return NULL for user-mode
as well.

Regards,
Peter

> Paolo
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]