qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 0/2] Remove hw_error from target-arm


From: Peter Crosthwaite
Subject: Re: [Qemu-devel] [PATCH v2 0/2] Remove hw_error from target-arm
Date: Sat, 29 Aug 2015 03:28:01 -0700

On Sat, Aug 29, 2015 at 3:08 AM, Peter Maydell <address@hidden> wrote:
> On 29 August 2015 at 11:06, Peter Crosthwaite
> <address@hidden> wrote:
>> Hi Peter,
>>
>> This removes the last of the hw_errors from target-arm.
>
> Hi; can you remind me what the reason was for wanting
> to remove them?
>

So hw_error is depracated in it's own right so I was thinking it stands alone.

But the idea that actually prompted it was I was looking at arch-obj
undef symbols from the multi-arch compile to see how much these TCG
modules depend on core code for linkage. The idea was to minimise
core-code linkage deps of the modules, so a TCG translator could be
linked to something that is not QEMU. This is ambitious and I have
since shelved the idea as it is a huge project. But once you accept
glib and the QOM core need to come with, it is a half sane list of
APIs you need to implement to link TCG to something new.

hw_error() stuck out like a sore thumb as a core-defined symbol I
could get rid of from target-arm arch-obj and reduce that API by one
symbol.

Regards,
Peter

> thanks
> -- PMM



reply via email to

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